Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 1,819 for else (0.03 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. android/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(TypeToken<T> type) {
        return new DummyProxy() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    		// IndexByte returns too many false positives.
    		if haveFastIndex {
    			if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {
    				return i + j - last
    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    			c1 := b[last-1] // There are at least 2 chars to match
    		loop:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) {
                    parser.setDefaultOperator(Operator.valueOf(op));
                } else {
                    parser.setDefaultOperator(defaultOperator);
                }
            }).orElse(() -> {
                parser.setDefaultOperator(defaultOperator);
            });
            return parser;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          // The safe range is empty or the all safe code points lie in or above the
          // surrogate range. Either way the character range is empty.
          this.safeMinChar = Character.MAX_VALUE;
          this.safeMaxChar = 0;
        } else {
          // The safe range is non-empty and contains values below the surrogate
          // range but may extend above it. We may need to clip the maximum value.
          this.safeMinChar = (char) safeMin;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

                // Handle invalid boolean values by falling back to default
                if ("true".equalsIgnoreCase(value)) {
                    this.useMultiChannel = true;
                } else if ("false".equalsIgnoreCase(value)) {
                    this.useMultiChannel = false;
                }
                // For invalid values, leave useMultiChannelExplicitlySet as false so default applies
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    		// insert the object.
    		totalPartsNR := int(math.Ceil(float64(objSize) / float64(partSize)))
    		for j := range totalPartsNR {
    			if j < totalPartsNR-1 {
    				textPartData = textData[j*partSize : (j+1)*partSize-1]
    			} else {
    				textPartData = textData[j*partSize:]
    			}
    			md5hex := getMD5Hash(textPartData)
    			var partInfo PartInfo
    			partInfo, err = obj.PutObjectPart(b.Context(), bucket, object, res.UploadID, j,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top