Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 2,976 for throwIt (0.03 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            @Override
            public FileVisitResult preVisitDirectory(final Path dir, final BasicFileAttributes attrs) throws IOException {
                return FileVisitResult.CONTINUE;
            }
    
            @Override
            public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            @Override
            public Integer next(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public Integer previous(Integer value) {
              throw new AssertionError();
            }
    
            @Override
            public long distance(Integer start, Integer end) {
              throw new AssertionError();
            }
          };
    
      public void testCreate_noMin() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] result1 = hmac1.engineDigest();
            byte[] result2 = hmac2.engineDigest();
    
            assertArrayEquals(result1, result2);
        }
    
        @Test
        void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException {
            // Test with known test vector
            // Using test vector from RFC 2104 adapted for HMACT64
            byte[] key = new byte[16];
            Arrays.fill(key, (byte) 0x0b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                DfsReferralDataInternal result = mockReferralData.combine(null);
                assertNotNull(result);
    
                // Test with concrete implementation - combine with null throws NPE
                assertThrows(NullPointerException.class, () -> concreteImplementation.combine(null));
            }
    
            @Test
            @DisplayName("Should handle null in append")
            void testAppendWithNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
       * Indicates that the constructor or factory method of a collection, usually an immutable set,
       * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of
       * collapsing them to a single element or including duplicate instances in the collection.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/BufferCache.java

        /**
         * Gets a buffer from the cache or creates a new one if the cache is empty.
         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            requestData.setUrl(url);
            return requestData;
        }
    
        /**
         * Closes the response data, deleting temporary files if any.
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public void close() throws IOException {
            if (isTemporaryFile) {
                FileUtil.deleteInBackground(responseBodyFile);
            }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        interceptorThrowsRuntimeExceptionSynchronous(true)
      }
    
      /**
       * When an interceptor throws an unexpected exception, synchronous callers can catch it and deal
       * with it.
       */
      private fun interceptorThrowsRuntimeExceptionSynchronous(network: Boolean) {
        addInterceptor(network) { chain: Interceptor.Chain? -> throw RuntimeException("boom!") }
        val request =
          Request
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
        assertThrows(NullPointerException.class, () -> new AtomicDoubleArray(a));
      }
    
      /** constructor with array is of same size and has all elements */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top