Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for Got (0.01 seconds)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

            assertTrue(expectedSuccess);
          } catch (ArithmeticException e) {
            if (expectedSuccess) {
              failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor);
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10TrivialOnPowerOf10() {
        long x = 1000000000000L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/InputValidator.java

            }
            if (array.length != expectedLength) {
                throw new IllegalArgumentException(fieldName + " must be " + expectedLength + " bytes, got " + array.length);
            }
        }
    
        /**
         * Validates a port number
         *
         * @param port the port number to validate
         * @throws IllegalArgumentException if port is invalid
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
            for (int i = 0; i < threadCount; i++) {
                assertSame(invertibleCryptographer, invertibles[i]);
                assertSame(oneWayCryptographer, oneWays[i]);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              return null
            }
            val priorResponse = userResponse.priorResponse
            if (priorResponse != null && priorResponse.code == HTTP_CLIENT_TIMEOUT) {
              // We attempted to retry and got another timeout. Give up.
              return null
            }
    
            if (retryAfter(userResponse, 0) > 0) {
              return null
            }
    
            return userResponse.request
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertEquals(orig.getPassword(), copy.getPassword());
    
            // Test the cloning behavior with both null and non-null cached subjects
            if (first != null) {
                // If we got a valid subject, test that it's properly cached and cloned
                Subject cachedOrig = orig.getSubject();
                assertNotNull(cachedOrig);
    
                // Cached subject is copied and visible via getSubject()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            for (int i = 0; i < threadCount; i++) {
                assertNull(exceptions[i], "Thread " + i + " threw exception");
                assertNotNull(results[i], "Thread " + i + " got null result");
                Assertions.assertEquals(3, results[i].length, "Thread " + i + " got wrong array length");
            }
        }
    
        /**
         * Test that volatile fields ensure visibility across threads.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              "shutdownWhenStartupFinishes can only be set if state is STARTING. Got %s instead.",
              internalState);
          checkArgument(
              (failure != null) == (internalState == FAILED),
              "A failure cause should be set if and only if the state is failed.  Got %s and %s "
                  + "instead.",
              internalState,
              failure);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                        response.adjustOffset(n);
                    }
    
                } while (len > effectiveBlockSize && n == r);
    
                // Optimization: Continue reading if we have small remaining data and got full blocks
                // This reduces round trips for slightly larger reads
                if (len > 0 && len <= (effectiveBlockSize / 4) && n == r) {
                    try {
                        if (th.isSMB2()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            }
    
            // Verify no exceptions
            for (int i = 0; i < threadCount; i++) {
                assertNull(exceptions[i], "Thread " + i + " threw exception");
                assertEquals("Thread " + i + " got wrong name", "Test", results[i]);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          if (isFinalFrame) break // We are exhausted and have no continuations.
    
          readUntilNonControlFrame()
          if (opcode != OPCODE_CONTINUATION) {
            throw ProtocolException("Expected continuation opcode. Got: ${opcode.toHexString()}")
          }
        }
      }
    
      @Throws(IOException::class)
      override fun close() {
        if (closed) return
        closed = true
        messageInflater?.closeQuietly()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top