Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,023 for CLASS (0.02 sec)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        setImplementation(Appendable.class, StringBuilder.class);
        setImplementation(BlockingQueue.class, LinkedBlockingDeque.class);
        setImplementation(BlockingDeque.class, LinkedBlockingDeque.class);
        setImplementation(ConcurrentMap.class, ConcurrentHashMap.class);
        setImplementation(ConcurrentNavigableMap.class, ConcurrentSkipListMap.class);
        setImplementation(CountDownLatch.class, Dummies.DummyCountDownLatch.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // When
                Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
                writeParams.setAccessible(true);
                writeParams.invoke(cancel, dst, 0);
    
                Method writeBytes = SmbComNtCancel.class.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
                writeBytes.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                Object wrapper = newPrivateInner("ResourceNameFilterWrapper", new Class<?>[] { SmbFilenameFilter.class }, delegate);
    
                SmbResource notAFileParent = mock(SmbResource.class);
    
                // Act
                boolean result =
                        (boolean) invokePrivate(wrapper, "accept", new Class<?>[] { SmbResource.class, String.class }, notAFileParent, "name");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        }
    
        /**
         *
         */
        @Test
        public void testGetWrapperClassIfWrapper() {
            assertThat(ClassUtil.getWrapperClassIfPrimitive(int.class), is(sameClass(Integer.class)));
            assertThat(ClassUtil.getWrapperClassIfPrimitive(String.class), is(sameClass(String.class)));
            assertThat(ClassUtil.getWrapperClassIfPrimitive(byte.class), is(sameClass(Byte.class)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SidResolverTest.java

            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
                    .resolveSids(any(CIFSContext.class), eq(null), any(SID[].class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         * <li>If the class loader that loaded the target class can be obtained, that class loader</li>
         * <li>If the class loader that loaded this class can be obtained, that class loader</li>
         * <li>If the system class loader can be obtained, that class loader</li>
         * </ol>
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassIterator.java

     * specify {@literal false} for the second argument of {@link #iterable(Class, boolean)} or {@link #ClassIterator(Class, boolean)}.
     * </p>
     *
     * @author koichik
     */
    public class ClassIterator implements Iterator<Class<?>> {
    
        /** The class */
        protected Class<?> clazz;
    
        /** If {@link Object} class should also be iterated, set to {@literal true} */
        protected final boolean includeObject;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/UniAddressTest.java

                mockAddress = mock(Address.class);
            }
    
            @Test
            void shouldReturnUnwrappedAddressWhenWrappedIsAddress() {
                when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress);
                UniAddress uniAddress = new UniAddress(mockAddress);
                assertEquals(mockAddress, uniAddress.unwrap(Address.class));
                verify(mockAddress, times(1)).unwrap(Address.class);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @Test
        public void testNullBuffer() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateBuffer(null, 100, 1024);
            });
        }
    
        @Test
        public void testBufferTooSmall() throws Exception {
            byte[] buffer = new byte[50];
            assertThrows(SmbException.class, () -> {
                validator.validateBuffer(buffer, 100, 1024);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top