Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 425 for matches2 (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt

            require(!fileContent.contains("'''")) {
                "The class with class='autoTested' can't contains triple quotes: $relativePath"
            }
            if (!sampleStart.matcher(fileContent).find()) {
                return
            }
            val className = relativePath.substringAfterLast("/").replace(".groovy", "AutoTestedSamplesTest").replace(".java", "AutoTestedSamplesTest")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

            metadata.merge(new Metadata());
    
            String dateAfter = gregorianDate();
    
            String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp();
            String datePart = DATE_FILTER.matcher(ts).replaceAll("");
    
            /* Allow for this test running across midnight */
            Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun hashCode_usesIdentityHashCode_regularCase() {
        // This one's javaName matches the identifier.
        val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256
        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun instancesAreInterned() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. clause/expression.go

    	builder.WriteQuoted(lte.Column)
    	builder.WriteString(" <= ")
    	builder.AddVar(builder, lte.Value)
    }
    
    func (lte Lte) NegationBuild(builder Builder) {
    	Gt(lte).Build(builder)
    }
    
    // Like whether string matches regular expression
    type Like Eq
    
    func (like Like) Build(builder Builder) {
    	builder.WriteQuoted(like.Column)
    	builder.WriteString(" LIKE ")
    	builder.AddVar(builder, like.Value)
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. 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 {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

    import org.apache.maven.api.services.Result;
    
    /**
     * Interface for caching request results in Maven. This cache implementation provides
     * methods for executing and optionally caching both single requests and batches of requests.
     * <p>
     * The cache behavior is determined by the cache retention specified in the request's metadata.
     * Results can be cached at different policies (forever, session, request, or not at all)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         *
         * @param clazz       Class to check
         * @param methodInfos array of methods we are searching to match
         * @param upcastCount current number of methods we have matched
         * @return count of matched methods
         */
        private static int getAccessibleMethods(Class<?> clazz, MethodInfo[] methodInfos, int upcastCount) {
            int l = methodInfos.length;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top