Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,620 for whence (0.04 sec)

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

            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
            when(tree.hasCapability(SmbConstants.CAP_NT_SMBS)).thenReturn(true);
            when(handle.getFid()).thenReturn(fid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
            jcifs.SID mockSid3 = mock(jcifs.SID.class);
            when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT);
            when(mockSid2.unwrap(sid_t.class)).thenReturn(mockSidT);
            when(mockSid3.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid1, mockSid2, mockSid3 };
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

      }
    
      /** Invoked when a binary (type `0x2`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
      }
    
      /**
       * Invoked when the remote peer has indicated that no more incoming messages will be transmitted.
       */
      open fun onClosing(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                int result = 0;
                when(mockBuffer.dec_ndr_short()).thenReturn(4096, 4096, 10, result, 0);
                when(mockBuffer.dec_ndr_long()).thenReturn(12345);
                when(mockBuffer.dec_ndr_small()).thenReturn(1);
                lenient().doNothing().when(mockBuffer).advance(anyInt());
                lenient().when(mockBuffer.align(anyInt())).thenReturn(0);
    
                // When
                bind.decode_out(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

            when(configWithCreds.getDefaultUsername()).thenReturn("testuser");
            when(configWithCreds.getDefaultPassword()).thenReturn("testpass");
            when(configWithCreds.getDefaultDomain()).thenReturn("TESTDOMAIN");
            when(configWithCreds.getBufferCacheSize()).thenReturn(16);
            when(configWithCreds.getMaximumBufferSize()).thenReturn(65536);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(file.ensureTreeConnected()).thenReturn(tree);
            when(tree.getConfig()).thenReturn(cfg);
            when(tree.getReceiveBufferSize()).thenReturn(1024);
            when(tree.getSendBufferSize()).thenReturn(1024);
            when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS));
            when(tree.areSignaturesActive()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        void testMessageConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(CRYPTO_ERROR_MESSAGE);
    
            // Then
            assertEquals(CRYPTO_ERROR_MESSAGE, exception.getMessage(), "Message should be preserved");
            assertNull(exception.getCause(), "Cause should be null when not specified");
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * at one time; if a value is not available to be edited then [edit] will return null.
     *
     *  * When an entry is being **created** it is necessary to supply a full set of values; the empty
     *    value should be used as a placeholder if necessary.
     *
     *  * When an entry is being **edited**, it is not necessary to supply data for every value; values
     *    default to their previous value.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            SmbTransportImpl transport = mock(SmbTransportImpl.class);
    
            when(tree.isConnected()).thenReturn(true);
            when(tree.getSession()).thenReturn(session);
            when(tree.acquire(false)).thenReturn(tree);
            when(session.getTransport()).thenReturn(transport);
            when(transport.isDisconnected()).thenReturn(false);
            when(transport.getRemoteHostName()).thenReturn("host");
            setTree(c, tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
                when(mockNdrBuffer.dec_ndr_short()).thenReturn(4, 6); // length, maximum_length
                when(mockDeferredBuffer.dec_ndr_long()).thenReturn(3, 0, 2); // _name_buffers, 0, _name_bufferl
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn((int) (short) 't', (int) (short) 'e');
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top