Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 6,241 for If (0.04 sec)

  1. internal/bucket/versioning/versioning_test.go

    		v, err = ParseConfig(strings.NewReader(tc.input))
    		if tc.err != err {
    			t.Fatalf("Test %d: expected %v but got %v", i+1, tc.err, err)
    		}
    		if err != nil {
    			if tc.err == nil {
    				t.Fatalf("Test %d: failed due to %v", i+1, err)
    			}
    		} else {
    			if err := v.Validate(); tc.err != err {
    				t.Fatalf("Test %d: validation failed due to %v", i+1, err)
    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt_test.go

    		pkMap:   map[string]interface{}{},
    	}
    	err := pubKeys.parseAndAdd(bytes.NewBuffer([]byte(jsonkey)))
    	if err != nil {
    		t.Fatal("Error loading pubkeys:", err)
    	}
    	if len(pubKeys.pkMap) != 1 {
    		t.Fatalf("Expected 1 keys, got %d", len(pubKeys.pkMap))
    	}
    
    	u1, err := xnet.ParseHTTPURL("http://127.0.0.1:8443")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	provider := providerCfg{}
    	provider.JWKS.URL = u1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. ci/official/utilities/setup.sh

      # Load those stored pre-existing TFCI_ vars, if any
      if [[ -s "$FROM_ENV" ]]; then
        echo '==TFCI==: NOTE: Loading the following env parameters, which were'
        echo 'already set in the shell environment. If you want to disable this'
        echo 'behavior, create a new shell.'
        cat "$FROM_ENV"
        source "$FROM_ENV"
        rm "$FROM_ENV"
      fi
    fi
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

                        clientMaxWindowBits = value?.toIntOrNull()
                        if (clientMaxWindowBits == null) unexpectedValues = true // Not an int!
                      }
                      name.equals("client_no_context_takeover", ignoreCase = true) -> {
                        if (clientNoContextTakeover) unexpectedValues = true // Repeated parameter!
                        if (value != null) unexpectedValues = true // Unexpected value!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. internal/handlers/proxy.go

    	var scheme string
    
    	// Retrieve the scheme from X-Forwarded-Proto.
    	if proto := r.Header.Get(xForwardedProto); proto != "" {
    		scheme = strings.ToLower(proto)
    	} else if proto = r.Header.Get(xForwardedScheme); proto != "" {
    		scheme = strings.ToLower(proto)
    	} else if proto := r.Header.Get(forwarded); proto != "" {
    		// match should contain at least two elements if the protocol was
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          check(!closed) { "closed" }
          if (!hasMoreChunks) return -1
    
          if (bytesRemainingInChunk == 0L || bytesRemainingInChunk == NO_CHUNK_YET) {
            readChunkSize()
            if (!hasMoreChunks) return -1
          }
    
          val read = super.read(sink, minOf(byteCount, bytesRemainingInChunk))
          if (read == -1L) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmContext.java

                Type2Message msg2 = new Type2Message(token);
    
                if ( log.isTraceEnabled() ) {
                    log.trace(msg2.toString());
                    log.trace(Hexdump.toHexString(token));
                }
    
                this.serverChallenge = msg2.getChallenge();
    
                if ( this.requireKeyExchange ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
            }
            if (clazz.isAssignableFrom(Long.class)) {
                if (!(value instanceof Long)) {
                    return (T) Long.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Integer.class)) {
                if (!(value instanceof Integer)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top