Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 979 for buffer (0.3 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.BufferedSource
    import okio.Source
    
    /** GMT and UTC are equivalent for our purposes. */
    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    internal fun threadFactory(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  3. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

        /** Operation completed successfully */
        public static final int ERROR_SUCCESS = 0x00000000;
        /** Invalid parameter was passed to the operation */
        public static final int ERROR_INVALID_PARAMETER = 0x00000057;
        /** Buffer provided is insufficient */
        public static final int ERROR_INSUFFICIENT_BUFFER = 0x0000007A;
        /** Operation is not supported */
        public static final int ERROR_NOT_SUPPORTED = 0x00000032;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            SmbComClose smbComClose = new SmbComClose(config, 1, 1L);
            byte[] buffer = new byte[0];
    
            // When
            int bytesRead = smbComClose.readParameterWordsWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. cmd/erasure_test.go

    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    		erasure, err := NewErasure(t.Context(), test.dataBlocks, test.parityBlocks, blockSizeV2)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create erasure: %v", i, err)
    		}
    		encoded, err := erasure.EncodeData(t.Context(), buffer)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encode data: %v", i, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

    import java.io.IOException
    import java.io.InterruptedIOException
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicBoolean
    import okio.ByteString
    import okio.Source
    import okio.buffer
    
    internal abstract class BasePublicSuffixList : PublicSuffixList {
      /** True after we've attempted to read the list for the first time. */
      private val listRead = AtomicBoolean(false)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            return bos.size();
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77);
    
            assertArrayEquals(testData, decompressed);
        }
    
        @Test
        @DisplayName("Test decompression into buffer")
        public void testDecompressionIntoBuffer() throws CIFSException {
            byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    import jcifs.smb1.Config;
    
    /**
     * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we
     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
     * conversion.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top