Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 547 for joins (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListenableFuture<?> future = executor.submit(incrementTask);
        assertTrue(future.isDone());
        assertListenerRunImmediately(future);
        assertEquals(1, threadLocalCount.get().intValue());
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    				withoutPort = append(withoutPort, d)
    			}
    		}
    	}
    	withoutPort = unexpandDomains(withoutPort)
    	if len(withoutPort) > maximum {
    		ret := strings.Join(withoutPort[:maximum], ", ")
    		return fmt.Sprintf("%s + %d more...", ret, len(withoutPort)-maximum)
    	}
    	return strings.Join(withoutPort, ", ")
    }
    
    func unexpandDomains(domains []string) []string {
    	unique := sets.New(domains...)
    	shouldDelete := sets.New[string]()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            Set<ApiChange> left = new HashSet<>(acceptedApiChanges);
            left.removeAll(seenApiChanges);
            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
                throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 09 08:16:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    				m[v] = strings.Join(value, ",")
    			} else {
    				m[supportedHeader] = strings.Join(value, ",")
    			}
    		}
    	}
    
    	for key := range v {
    		for _, prefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(key, prefix) {
    				continue
    			}
    			value, ok := nv[http.CanonicalHeaderKey(key)]
    			if ok {
    				m[key] = strings.Join(value, ",")
    				break
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(dispatcher.runningCalls())
          .containsExactlyInAnyOrder(a1, a2)
        assertThat(dispatcher.queuedCalls()).isEmpty()
    
        // Let the calls finish.
        waiting.countDown()
        t1.join()
        t2.join()
    
        // Now we should have 0 running calls and 0 queued calls.
        assertThat(dispatcher.runningCallsCount()).isEqualTo(0)
        assertThat(dispatcher.queuedCallsCount()).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

        testRule.beforeEach(extensionContext)
    
        val thread =
          object : Thread() {
            override fun run() {
              throw RuntimeException("boom!")
            }
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
          assertThat(expected).hasMessage("uncaught exception thrown during test")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig.go

    func getCNIConfigFilepath(ctx context.Context, cniConfName, mountedCNINetDir string, chained bool) (string, error) {
    	if !chained {
    		if len(cniConfName) == 0 {
    			cniConfName = "YYY-istio-cni.conf"
    		}
    		return filepath.Join(mountedCNINetDir, cniConfName), nil
    	}
    
    	watcher, err := util.CreateFileWatcher(mountedCNINetDir)
    	if err != nil {
    		return "", err
    	}
    	defer watcher.Close()
    
    	for len(cniConfName) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testJoin() {
        assertThat(Chars.join(",", EMPTY)).isEmpty();
        assertThat(Chars.join(",", '1')).isEqualTo("1");
        assertThat(Chars.join(",", '1', '2')).isEqualTo("1,2");
        assertThat(Chars.join("", '1', '2', '3')).isEqualTo("123");
      }
    
      public void testLexicographicalComparator() {
        List<char[]> ordered =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/authz_test.go

    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, authzCmd, c)
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. cni/pkg/install/binaries.go

    	srcFiles, err := os.ReadDir(srcDir)
    	if err != nil {
    		return copiedFilenames, err
    	}
    
    	for _, f := range srcFiles {
    		if f.IsDir() {
    			continue
    		}
    
    		filename := f.Name()
    		srcFilepath := filepath.Join(srcDir, filename)
    
    		for _, targetDir := range targetDirs {
    			if err := file.AtomicCopy(srcFilepath, targetDir, filename); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top