Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 5,419 for klass (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
      }
    
      @Throws(FileNotFoundException::class)
      private fun newJournalWriter(): BufferedSink {
        val fileSink = fileSystem.appendingSink(journalFile)
        val faultHidingSink =
          FaultHidingSink(fileSink) {
            assertLockHeld()
            hasJournalErrors = true
          }
        return faultHidingSink.buffer()
      }
    
      @Throws(IOException::class)
      private fun readJournalLine(line: String) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              put(e3());
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPut_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> put(e3()));
        expectUnchanged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

         */
        public void testGetResourceAsStreamNoException() throws Exception {
            assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class"));
            assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetBuildDir() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/InvocationTargetRuntimeException.java

    /**
     * Exception that wraps {@link InvocationTargetException}.
     *
     * @author higa
     */
    public class InvocationTargetRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 7760491787158046906L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
         * Creates a {@link InvocationTargetRuntimeException}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The resource path.
         */
        public static String getResourcePath(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            return clazz.getName().replace('.', '/') + ".class";
        }
    
        /**
         * Returns the context class loader.
         *
         * @return the context class loader
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testImplementationsAreAllocInfo() {
                assertTrue(AllocInfo.class.isAssignableFrom(SmbInfoAllocation.class));
                assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.class));
                assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class));
            }
    
            @Test
            @DisplayName("Should verify correct interface hierarchy")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
            // Test that PAC smaller than 8 bytes is rejected
            byte[] smallData = new byte[4];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        future.cancel(true);
        assertThrows(CancellationException.class, () -> getUnchecked(future));
      }
    
      public void testGetUnchecked_executionExceptionChecked() {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION));
        assertThat(expected).hasCauseThat().isEqualTo(CHECKED_EXCEPTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        future.cancel(true);
        assertThrows(CancellationException.class, () -> getUnchecked(future));
      }
    
      public void testGetUnchecked_executionExceptionChecked() {
        UncheckedExecutionException expected =
            assertThrows(
                UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION));
        assertThat(expected).hasCauseThat().isEqualTo(CHECKED_EXCEPTION);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            h.release();
            verify(tree, never()).send(isA(Smb2CloseRequest.class), any());
            verify(tree, never()).send(any(CommonServerMessageBlockRequest.class), any(SmbComBlankResponse.class), any(RequestParam[].class));
    
            // Second release: should close now via SMB2 path
            h.release();
            verify(tree, times(1)).send(isA(Smb2CloseRequest.class), eq(RequestParam.NO_RETRY));
            verify(tree, times(1)).release();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top