Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 243 for matches (0.24 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  2. internal/crypto/header_test.go

    		if !isEqual(test.ExpectedHeader, test.Header) {
    			t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader)
    		}
    		RemoveSensitiveEntries(metadata)
    		if !areKeysEqual(test.ExpectedHeader, metadata) {
    			t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                    if (!ID_REGEX.matcher(pluginGroup).matches()) {
                        addViolation(
                                problems,
                                BuilderProblem.Severity.ERROR,
                                "pluginGroups.pluginGroup[" + i + "]",
                                null,
                                "must denote a valid group id and match the pattern " + ID);
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        fun assertLogMatch(regex: Regex) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++])
              .matches(Regex(prefix.pattern + regex.pattern, RegexOption.DOT_MATCHES_ALL))
          }
    
        fun assertNoMoreLogs() {
          assertThat(logs.size, "More messages remain: ${logs.subList(index, logs.size)}")
            .isEqualTo(index)
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                boolean forceSigning, boolean connectedOnly ) {
            for ( SmbTransportImpl conn : this.connections ) {
                if ( conn.matches(address, port, localAddr, localPort, hostName)
                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    
    
    @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)")
    class TestFilesCleanupServiceTest {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cache.kt

            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
        val response = entry.response(snapshot)
        if (!entry.matches(request, response)) {
          response.body.closeQuietly()
          return null
        }
    
        return response
      }
    
      internal fun put(response: Response): CacheRequest? {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

              } else if (labelBytesLeft > publicSuffixBytesLeft) {
                low = mid + end + 1
              } else {
                // Found a match.
                match = String(this, mid, publicSuffixLength)
                break
              }
            }
          }
          return match
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertSame(mirrorC, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors));
        }
    
        @Test
        void testMirrorStopOnFirstMatch() {
            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top