Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 6,957 for Glass (0.03 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Mock both sends and return response
            when(tree.send(any(TransWaitNamedPipe.class), any(TransWaitNamedPipeResponse.class))).thenAnswer(inv -> inv.getArgument(1));
            when(tree.send(any(TransCallNamedPipe.class), any(TransCallNamedPipeResponse.class))).thenAnswer(inv -> inv.getArgument(1));
    
            int n = handle.sendrecv(new byte[3], 0, 3, new byte[8], 64);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Comprehensive test suite for DcerpcHandle class
     * Tests binding parsing, handle creation, bind operations, and communication
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("DcerpcHandle Test Suite")
    class DcerpcHandleTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private DcerpcBinding mockBinding;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * all super-classes, that are annotated with {@code @Subscribe}. The cache is shared across all
       * instances of this class; this greatly improves performance if multiple EventBus instances are
       * created and objects of the same class are registered on all of them.
       */
      private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UserRoleLoginExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with RootAction class
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNotNull(exception);
            assertEquals(RootAction.class, exception.getActionClass());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the transport layer
            smbTransport = mock(SmbTransport.class);
            smbTransport.rcv_buf_size = 4096;
            smbTransport.snd_buf_size = 4096;
    
            // Mock the session layer
            smbSession = mock(SmbSession.class);
            smbSession.transport = smbTransport;
    
            // Mock the tree layer
            smbTree = mock(SmbTree.class);
            smbTree.session = smbSession;
            smbTree.tree_num = 1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestExceptions.java

    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
      static class SomeUncheckedException extends RuntimeException {}
    
      static class SomeChainingException extends RuntimeException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/TestExceptions.java

    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
      static class SomeUncheckedException extends RuntimeException {}
    
      static class SomeChainingException extends RuntimeException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      /**
       * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint.
       */
      private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry(
          Entry<Class<? extends @NonNull B>, B> entry) {
        return new ForwardingMapEntry<Class<? extends @NonNull B>, B>() {
          @Override
          protected Entry<Class<? extends @NonNull B>, B> delegate() {
            return entry;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/ASN1UtilTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link ASN1Util} class.
     */
    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(CollectionSerializationEqualTester.class);
        testers.add(ListAddAllAtIndexTester.class);
        testers.add(ListAddAllTester.class);
        testers.add(ListAddAtIndexTester.class);
        testers.add(ListAddTester.class);
        testers.add(ListCreationTester.class);
        testers.add(ListEqualsTester.class);
        testers.add(ListGetTester.class);
        testers.add(ListHashCodeTester.class);
        testers.add(ListIndexOfTester.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top