Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 273 for matchDest (0.15 sec)

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

            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
        RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
        RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    		return false
    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    func (b metacacheBlock) endedPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.Last, prefix) {
    		return false
    	}
    
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.Last > prefix
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
        assertThat(getStackTraceAsString(e)).matches(expected);
      }
    
      public void testGetCausalChain() {
        SomeUncheckedException sue = new SomeUncheckedException();
        IllegalArgumentException iae = new IllegalArgumentException(sue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. logger/sql.go

    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "InetAddresses.isInetAddress(" + withScopeId + ") should be true but was false",
                InetAddresses.isInetAddress(withScopeId));
            Inet6Address parsed;
            boolean isNumeric = scopeId.matches("\\d+");
            try {
              parsed = (Inet6Address) InetAddresses.forString(withScopeId);
            } catch (IllegalArgumentException e) {
              if (!isNumeric) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

            return checkSnapshot(version);
        }
    
        public static boolean checkSnapshot(String version) {
            return version.endsWith(SNAPSHOT) || SNAPSHOT_TIMESTAMP.matcher(version).matches();
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
            return new DefaultVersionConstraint(versionScheme, constraint);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ACE.java

     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  9. tests/customize_field_test.go

    		t.Errorf("Failed to query CustomizeColumn")
    	}
    }
    
    func TestCustomColumnAndIgnoredFieldClash(t *testing.T) {
    	// Make sure an ignored field does not interfere with another field's custom
    	// column name that matches the ignored field.
    	type CustomColumnAndIgnoredFieldClash struct {
    		Body    string `gorm:"-"`
    		RawBody string `gorm:"column:body"`
    	}
    
    	DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top