- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 535 for Join (0.03 sec)
-
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
val endsFirst = buildRequestThread(secondRequest, secondResponseCode) endsFirst.start() endsFirst.join() // First response is still waiting. assertThat(firstResponseCode.get()).isEqualTo(0) // Second response is done. assertThat(secondResponseCode.get()).isEqualTo(200) latch.countDown() startsFirst.join() // And now it's done! assertThat(firstResponseCode.get()).isEqualTo(200) // (Still done).
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testJoin() { assertThat(Doubles.join(",", EMPTY)).isEmpty(); assertThat(Doubles.join(",", ARRAY1)).isEqualTo("1.0"); assertThat(Doubles.join(",", (double) 1, (double) 2)).isEqualTo("1.0,2.0"); assertThat(Doubles.join("", (double) 1, (double) 2, (double) 3)).isEqualTo("1.02.03.0"); } public void testJoinNonTrivialDoubles() { assertThat(Doubles.join(",", EMPTY)).isEmpty();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
/dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Failure case where we detected successfully cross device mounts. { absPaths := []string{"/path/to/1"}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/distinct_test.go
} dryDB := DB.Session(&gorm.Session{DryRun: true}) r := dryDB.Distinct("u.id, u.*").Table("user_speaks as s").Joins("inner join users as u on u.id = s.user_id").Where("s.language_code ='US' or s.language_code ='ES'").Find(&User{}) if !regexp.MustCompile(`SELECT DISTINCT u\.id, u\.\* FROM user_speaks as s inner join users as u`).MatchString(r.Statement.SQL.String()) { t.Fatalf("Build Distinct with u.*, but got %v", r.Statement.SQL.String()) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0) -
tests/scan_test.go
if err := DB.Select("people.*, addresses.*"). Table("people"). Joins("inner join person_addresses on people.id = person_addresses.person_id"). Joins("inner join addresses on person_addresses.address_id = addresses.id"). Find(&personAddressInfoList).Error; err != nil { t.Errorf("Failed to run join query, got error: %v", err) } personMatched := false addressMatched := false
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
architecture/networking/pilot.md
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Feb 07 17:53:24 UTC 2024 - 19.1K bytes - Viewed (0) -
schema/index.go
k := strings.TrimSpace(strings.ToUpper(v[0])) if k == "INDEX" || k == "UNIQUEINDEX" { var ( name string tag = strings.Join(v[1:], ":") idx = strings.Index(tag, ",") tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",") settings = ParseTagSetting(tagSetting, ",") length, _ = strconv.Atoi(settings["LENGTH"]) ) if idx == -1 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
} if (mavenOptions.activatedProfiles().isPresent()) { cmdAndArguments.add("--activate-profiles"); cmdAndArguments.add( String.join(",", mavenOptions.activatedProfiles().get())); } if (mavenOptions.suppressSnapshotUpdates().orElse(false)) { cmdAndArguments.add("--no-snapshot-updates"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
k8sServicePort = "443" kubeCAFilepath = "testdata/kube-ca.crt" saToken = "service_account_token_string" ) func TestCreateValidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) cases := []struct { name string expectedFailure bool k8sServiceProtocol string k8sServiceHost string k8sServicePort string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
return nil, err } exp := argP.Expand() if node == "" { for index, e := range exp { result = append(result, localDisk{index: index, path: strings.Join(e, "")}) } } else { for index, e := range exp { u, err := url.Parse(strings.Join(e, "")) if err != nil { return nil, err } if strings.Contains(u.Host, node) { result = append(result, localDisk{index: index, path: u.Path}) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)