Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2731 - 2740 of 5,742 for text (0.08 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

        val thisMinusKey =
          when {
            key == this.key -> {
              next
            }
    
            // Subtract this!
    
            else -> {
              val nextMinusKey = next.plus(key, null)
              when {
                nextMinusKey === next -> this
    
                // Same as the following line, but with fewer allocations.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            assertEquals("-X777", values[4]);
            assertEquals("-X999", values[5]);
        }
    
        @Test
        public void test_getJavaVersion_edgeCases() {
            // Test with null java.version property
            System.clearProperty("java.version");
            assertEquals(8, JvmUtil.getJavaVersion());
    
            // Test with empty string
            System.setProperty("java.version", "");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testTransformExceptionRemainsMemoized() throws Throwable {
        // We need to test with two input futures since ExecutionList.execute
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /**
       * Test that the function is invoked only once, even if it throws an exception. Also, test that
       * that function's result is wrapped in an ExecutionException.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testTransformExceptionRemainsMemoized() throws Throwable {
        // We need to test with two input futures since ExecutionList.execute
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. cmd/bucket-policy-handlers_test.go

    		},
    		// Test case - 4.
    		// setting the readSeeker to `nil`, bucket policy parser will fail.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: nil,
    
    			policyLen:          10,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 5.
    		// setting the keys to be empty.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

    )
    class KotlinSourceModernTest {
      @Test @Ignore
      fun dispatcherFromMockWebServer() {
        val dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test @Ignore
      fun mockResponse() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            assertEquals(3, dataMap.size());
        }
    
        @Test
        public void test_isUrlCrawlable_noExcludePattern() {
            DataStoreParams paramMap = new DataStoreParams();
            String url = "http://example.com/test.html";
    
            boolean result = indexUpdateCallback.isUrlCrawlable(paramMap, url);
    
            assertTrue(result);
        }
    
        @Test
        public void test_isUrlCrawlable_excludePatternAsString() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for IpAddressUtil class.
     */
    public class IpAddressUtilTest {
    
        @Test
        public void testCompressIPv6() {
            // Test IPv6 compression (using reflection to access protected method)
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       */
      public final void set(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.set(next);
      }
    
      /**
       * Eventually sets to the given value.
       *
       * @param newValue the new value
       */
      public final void lazySet(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.lazySet(next);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top