- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 712 for join (0.16 sec)
-
internal/store/queuestore.go
enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf) for i := range item { err := enc.Encode(item[i]) if err != nil { return err } } b := buf.Bytes() path := filepath.Join(store.directory, key+store.fileExt) err := os.WriteFile(path, b, os.FileMode(0o770)) buf.Reset() if err != nil { return err } // Increment the item count. store.entries[key] = time.Now().UnixNano()
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Mar 25 16:44:20 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
if includeConfigType { name := fmt.Sprintf("listener/%s", l.Name) fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, match.match, match.destination) } else { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", strings.Join(addresses, ","), port, match.match, match.destination) } } } else { listenerType := retrieveListenerType(l) if includeConfigType {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(), strings.Join(c.Args, " "), output, c.ExpectedOutput) } if c.ExpectedRegexp != nil && !c.ExpectedRegexp.MatchString(output) { t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.Args, " "), output, c.ExpectedRegexp) } if c.GoldenFilename != "" {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cthread_unix.c
int i; pthread_t thread_id[MaxThread]; if(nthread > MaxThread) nthread = MaxThread; for(i=0; i<nthread; i++) pthread_create(&thread_id[i], 0, addThread, &max); for(i=0; i<nthread; i++) pthread_join(thread_id[i], 0); } static void* goDummyCallbackThread(void* p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) goDummy(); return NULL; } int callGoInCThread(int max) {
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
service.stopAsync().awaitTerminated(); assertTrue(service.shutDownCalled); assertEquals(Service.State.TERMINATED, service.state()); executionThread.join(); } public void testServiceStopIdempotence() throws Exception { WaitOnRunService service = new WaitOnRunService(); service.startAsync().awaitRunning();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/StringUtil.java
/** * */ private StringUtil () {} /** * Implementation of {@link java.lang.String#join} backported for JDK7. * * @param delimiter * @param elements * @return elements separated by delimiter */ public static String join ( CharSequence delimiter, CharSequence... elements ) { StringBuilder sb = new StringBuilder();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.6K bytes - Viewed (0) -
callbacks/preload.go
} sort.Strings(preloadNames) isJoined := func(name string) (joined bool, nestedJoins []string) { for _, join := range joins { if _, ok := relationships.Relations[join]; ok && name == join { joined = true continue } joinNames := strings.SplitN(join, ".", 2) if len(joinNames) == 2 { if _, ok := relationships.Relations[joinNames[0]]; ok && name == joinNames[0] { joined = true
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Apr 25 12:21:03 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} public void testJoin() { assertThat(UnsignedBytes.join(",", new byte[] {})).isEmpty(); assertThat(UnsignedBytes.join(",", new byte[] {(byte) 1})).isEqualTo("1"); assertThat(UnsignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2"); assertThat(UnsignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123"); assertThat(UnsignedBytes.join(",", (byte) 128, (byte) -1)).isEqualTo("128,255"); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
} public void testJoin() { assertThat(SignedBytes.join(",", EMPTY)).isEmpty(); assertThat(SignedBytes.join(",", ARRAY1)).isEqualTo("1"); assertThat(SignedBytes.join(",", (byte) 1, (byte) 2)).isEqualTo("1,2"); assertThat(SignedBytes.join("", (byte) 1, (byte) 2, (byte) 3)).isEqualTo("123"); assertThat(SignedBytes.join(",", (byte) -128, (byte) -1)).isEqualTo("-128,-1"); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
t.Errorf("Test %d: Expected the APIErrCode to be %d, got %d", i+1, testCase.expectedErrCode, actualErrCode) } if actualErrCode == ErrNone { if strings.Join(testCase.expectedSignedHeaders, ",") != strings.Join(actualSignedHeaders, ",") { t.Errorf("Test %d: Expected the result to be \"%v\", but got \"%v\". ", i+1, testCase.expectedSignedHeaders, actualSignedHeaders) } } } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 27.4K bytes - Viewed (0)