| /f-stack/app/redis-5.0.5/tests/cluster/tests/ |
| H A D | 05-slave-selection.tcl | 17 assert {[llength [lindex [R 0 role] 2]] == 2} 22 assert {[lindex [R 5 role] 2] == $port0} 23 assert {[lindex [R 10 role] 2] == $port0} 72 [RI 5 role] eq {master} 89 ([lindex [R 10 role] 2] == $port5) && 114 assert {[lindex [R 3 role] 2] == $port0} 115 assert {[lindex [R 6 role] 2] == $port0} 116 assert {[lindex [R 9 role] 2] == $port0} 117 assert {[lindex [R 12 role] 2] == $port0} 118 assert {[lindex [R 15 role] 2] == $port0} [all …]
|
| H A D | 11-manual-takeover.tcl | 42 assert {[RI 5 role] eq {master}} 43 assert {[RI 6 role] eq {master}} 44 assert {[RI 7 role] eq {master}} 55 [RI 0 role] eq {slave} && [RI 1 role] eq {slave} && [RI 2 role] eq {slave}
|
| H A D | 03-failover-loop.tcl | 24 set role [RI $tokill role] 25 if {$role eq {master}} { 41 if {$role eq {master}} { 59 if {$role eq {master}} { 68 if {$role eq {master}} { 95 [RI $tokill role] eq {slave}
|
| H A D | 10-manual-failover.tcl | 18 assert {[RI 5 role] eq {slave}} 79 assert {[RI 5 role] eq {master}} 91 [RI 0 role] eq {slave} 114 assert {[RI 5 role] eq {slave}} 136 assert {[RI 5 role] eq {master}} 161 assert {[RI 5 role] eq {slave}} 183 [RI 5 role] eq {master}
|
| H A D | 07-replica-migration.tcl | 21 [llength [lindex [R 0 role] 2]] == 2 41 [llength [lindex [R $id role] 2]] >= 1 91 assert {[RI 12 role] eq {master}} 99 [llength [lindex [R 12 role] 2]] >= 1
|
| H A D | 02-failover.tcl | 18 assert {[RI 5 role] eq {slave}} 52 assert {[RI 5 role] eq {master}} 61 [RI 0 role] eq {slave}
|
| H A D | 12-replica-migration-2.tcl | 23 [llength [lindex [R 0 role] 2]] >= 2 41 [llength [lindex [R 0 role] 2]] == 0 60 [llength [lindex [R 0 role] 2]] >= 1
|
| H A D | 08-update-msg.tcl | 27 assert {[RI 5 role] eq {slave}} 61 assert {[RI 5 role] eq {master}} 78 [RI 0 role] eq {slave}
|
| H A D | 06-slave-stop-cond.tcl | 17 assert {[llength [lindex [R 0 role] 2]] == 1} 22 assert {[lindex [R 5 role] 2] == $port0} 68 assert {[RI 5 role] eq {slave}}
|
| H A D | 04-resharding.tcl | 154 set role [R $id role] 155 lassign $role myrole myoffset slaves 160 set srole [R $sid role]
|
| /f-stack/app/redis-5.0.5/tests/integration/ |
| H A D | replication.tcl | 33 [string match *handshake* [$slave role]] 66 [lindex [$A role] 0] eq {slave} && 102 [lindex [$B role] 0] eq {slave} && 130 s role 139 s role 168 set res [r -1 role] 169 lassign $res role offset slaves 170 assert {$role eq {master}} 178 set res [r role] 180 assert {$role eq {slave}} [all …]
|
| H A D | replication-4.tcl | 22 test {First server should have role slave after SLAVEOF} { 25 s 0 role 65 test {First server should have role slave after SLAVEOF} { 107 test {First server should have role slave after SLAVEOF} { 110 [s 0 role] eq {slave}
|
| /f-stack/freebsd/contrib/ck/src/ |
| H A D | ck_barrier_tournament.c | 72 rounds[i][0].role = CK_BARRIER_TOURNAMENT_DROPOUT; in ck_barrier_tournament_init() 79 rounds[i][k].role = CK_BARRIER_TOURNAMENT_WINNER; in ck_barrier_tournament_init() 81 rounds[i][k].role = CK_BARRIER_TOURNAMENT_BYE; in ck_barrier_tournament_init() 85 rounds[i][k].role = CK_BARRIER_TOURNAMENT_LOSER; in ck_barrier_tournament_init() 87 rounds[i][k].role = CK_BARRIER_TOURNAMENT_CHAMPION; in ck_barrier_tournament_init() 89 if (rounds[i][k].role == CK_BARRIER_TOURNAMENT_LOSER) in ck_barrier_tournament_init() 91 else if (rounds[i][k].role == CK_BARRIER_TOURNAMENT_WINNER || in ck_barrier_tournament_init() 92 rounds[i][k].role == CK_BARRIER_TOURNAMENT_CHAMPION) in ck_barrier_tournament_init() 119 switch (rounds[state->vpid][round].role) { in ck_barrier_tournament() 158 switch (rounds[state->vpid][round].role) { in ck_barrier_tournament()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/net/dsa/ |
| H A D | sja1105.txt | 24 - sja1105,role-mac: 25 - sja1105,role-phy: 37 1. If sja1105,role-mac is specified, and the phy-mode property is one 41 2. If sja1105,role-phy is specified, and the phy-mode property is one 51 to have sja1105,role-mac, while the other sja1105,role-phy. 90 /* Implicit "sja1105,role-mac;" */ 98 /* Implicit "sja1105,role-mac;" */ 106 /* Implicit "sja1105,role-mac;" */ 114 /* Implicit "sja1105,role-mac;" */ 121 /* Implicit "sja1105,role-phy;" */
|
| /f-stack/tools/libxo/doc/ |
| H A D | field-roles.rst | 35 When a role is not provided, the "*value*" role is used as the default. 46 .. _color-role: 126 .. _decoration-role: 139 .. _gettext-role: 174 .. _label-role: 184 .. _note-role: 194 .. _padding-role: 209 .. _title-role: 234 .. _units-role: 259 .. _value-role: [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/connector/ |
| H A D | usb-connector.yaml | 57 mode or dual role mode is supported. 62 power-role: 63 description: Determines the power role that the Type C connector will 72 try-power-role: 73 description: Preferred power role. 81 data-role: 82 description: Data role if Type C connector supports USB data. "dual" refers 110 PD spec chapter 6.4.1. Required for power sink and power dual role. User 120 power dual role. 215 power-role = "dual"; [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/usb/ |
| H A D | mediatek,mtu3.txt | 30 when supports dual-role mode. 32 new bindings, and use "usb-role-switch" property instead. 34 dual-role mode. 47 - usb-role-switch : use USB Role Switch to support dual-role switch, but 49 - enable-manual-drd : supports manual dual-role switch via debugfs; usually 50 used when receptacle is TYPE-A and also wants to support dual-role 71 The port would be added as subnode if use "usb-role-switch" property.
|
| H A D | mediatek,musb.txt | 31 dual-role mode 32 - usb-role-switch : use USB Role Switch to support dual-role switch, see 50 usb-role-switch;
|
| H A D | renesas,usb3-peri.yaml | 47 usb-role-switch: 49 description: Support role switch. 58 using the OF graph bindings specified, if the "usb-role-switch" 80 usb-role-switch;
|
| H A D | richtek,rt1711h.txt | 24 data-role = "dual"; 25 power-role = "dual"; 26 try-power-role = "sink";
|
| H A D | generic.txt | 34 - usb-role-switch: boolean, indicates that the device is capable of assigning 35 the USB data role (USB host or USB device) for a given 38 - role-switch-default-mode: indicating if usb-role-switch is enabled, the 40 role is USB_ROLE_NONE. Valid arguments are "host" and
|
| H A D | typec-tcpci.txt | 29 data-role = "dual"; 30 power-role = "dual"; 31 try-power-role = "sink";
|
| H A D | fsl-usb.txt | 10 controllers, or "fsl-usb2-dr" for dual role USB controllers 11 or "fsl,mpc5121-usb2-dr" for dual role USB controllers of MPC5121. 15 "ulpi", or "serial". For dual role USB controllers, should be 56 Example dual role USB controller device node : 68 Example dual role USB controller device node for MPC5121ADS:
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_lcore.c | 77 rte_lcore_has_role(unsigned int lcore_id, enum rte_lcore_role_t role) in rte_lcore_has_role() argument 84 return cfg->lcore_role[lcore_id] == role; in rte_lcore_has_role() 431 const char *role; in lcore_dump_cb() local 437 role = "RTE"; in lcore_dump_cb() 440 role = "SERVICE"; in lcore_dump_cb() 443 role = "NON_EAL"; in lcore_dump_cb() 446 role = "UNKNOWN"; in lcore_dump_cb() 453 rte_lcore_to_socket_id(lcore_id), role, cpuset, in lcore_dump_cb()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/chrome/ |
| H A D | google,cros-ec-typec.yaml | 48 power-role = "dual"; 49 data-role = "dual"; 50 try-power-role = "source";
|