Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 2,143 for ELSE (0.07 sec)

  1. cni/pkg/nodeagent/net.go

    			log.Debugf("calling DeleteInpodRules")
    			if err := s.netnsRunner(openNetns, func() error { return s.podIptables.DeleteInpodRules() }); err != nil {
    				return fmt.Errorf("failed to delete inpod rules: %w", err)
    			}
    		} else {
    			log.Warn("pod netns already gone, not deleting inpod rules")
    		}
    	}
    
    	log.Debug("removing pod from ztunnel")
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    	defer teardown(testResults)
    
    	// Validate all the results.
    	for _, r := range testResults {
    		if entries, err := readDir(r.dir); err != nil {
    			t.Fatal("failed to run test.", err)
    		} else {
    			// Keep entries sorted for easier comparison.
    			sort.Strings(entries)
    			if !checkResult(r.entries, entries) {
    				t.Fatalf("expected = %s, got: %s", r.entries, entries)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. cmd/kms-handlers_test.go

    func execKMSTest(t *testing.T, test kmsTestCase, adminTestBed *adminErasureTestBed) {
    	var accessKey, secretKey string
    	if test.asRoot {
    		accessKey, secretKey = globalActiveCred.AccessKey, globalActiveCred.SecretKey
    	} else {
    		setupKMSUser(t, userAccessKey, userSecretKey, test.policy)
    		accessKey = userAccessKey
    		secretKey = userSecretKey
    	}
    
    	req := buildKMSRequest(t, test.method, test.path, accessKey, secretKey, test.query)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        };
      }
    
      private static TypeToken<?> getFirstTypeParameter(Type type) {
        if (type instanceof ParameterizedType) {
          return TypeToken.of(((ParameterizedType) type).getActualTypeArguments()[0]);
        } else {
          return TypeToken.of(Object.class);
        }
      }
    
      private <T> T newDefaultReturningProxy(final TypeToken<T> type) {
        return new DummyProxy() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

            int hash2 = function.hashInt(key2).asInt();
            for (int k = 0; k < hashBits; k++) {
              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

          return new FileInputStream(file);
        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

        setBits(table);
        int totalCharacters = table.cardinality();
        if (totalCharacters * 2 <= DISTINCT_CHARS) {
          return precomputedPositive(totalCharacters, table, toString());
        } else {
          // TODO(lowasser): is it worth it to worry about the last character of large matchers?
          table.flip(Character.MIN_VALUE, Character.MAX_VALUE + 1);
          int negatedCharacters = DISTINCT_CHARS - totalCharacters;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        void markReady() {
          monitor.enter();
          try {
            if (!transitioned) {
              // nothing has transitioned since construction, good.
              ready = true;
            } else {
              // This should be an extremely rare race condition.
              List<Service> servicesInBadStates = Lists.newArrayList();
              for (Service service : servicesByState().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        void markReady() {
          monitor.enter();
          try {
            if (!transitioned) {
              // nothing has transitioned since construction, good.
              ready = true;
            } else {
              // This should be an extremely rare race condition.
              List<Service> servicesInBadStates = Lists.newArrayList();
              for (Service service : servicesByState().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      val proxySelector: ProxySelector =
        when {
          // Defer calls to ProxySelector.getDefault() because it can throw a SecurityException.
          builder.proxy != null -> NullProxySelector
          else -> builder.proxySelector ?: ProxySelector.getDefault() ?: NullProxySelector
        }
    
      @get:JvmName("proxyAuthenticator")
      val proxyAuthenticator: Authenticator =
        builder.proxyAuthenticator
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top