Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 979 for buffer (0.03 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

            for (PrimitiveSink sink : sinks) {
              ByteBuffer buffer = ByteBuffer.wrap(value);
              Java8Compatibility.position(buffer, pos);
              Java8Compatibility.limit(buffer, limit);
              sink.putBytes(buffer);
              assertEquals(limit, buffer.limit());
              assertEquals(limit, buffer.position());
            }
          }
        },
        PUT_STRING() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import okio.Buffer
    import org.junit.jupiter.api.Test
    
    class ConfiguredPublicSuffixDatabaseTest {
      private val list = ConfiguredPublicSuffixList()
      private val publicSuffixDatabase = PublicSuffixDatabase(list)
    
      @Test fun longestMatchWins() {
        list.bytes =
          Buffer()
            .writeUtf8("com\n")
            .writeUtf8("my.square.com\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        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: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * Encode the input parameters for this DCERPC message.
         * @param buf the buffer to encode into
         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
         * Decode the output parameters from this DCERPC message.
         * @param buf the buffer to decode from
         * @throws NdrException if decoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java

            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        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: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0);
    
            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
            assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length()));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

        /**
         * Create new DiSNI memory region
         *
         * @param buffer memory buffer to register
         * @param access access permissions
         * @param endpoint DiSNI endpoint for registration
         */
        public DisniMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access, Object endpoint) {
            super(buffer, access);
            this.endpoint = endpoint;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

    /**
     * Tests for the SmbComBlankResponse class.
     */
    class SmbComBlankResponseTest {
    
        private SmbComBlankResponse response;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            response = new SmbComBlankResponse();
            buffer = new byte[100];
        }
    
        /**
         * Test for the writeParameterWordsWireFormat method.
         * It should always return 0.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. lib/wasm/wasm_exec.js

    						const n = this.mem.getInt32(sp + 24, true);
    						fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));
    					},
    
    					// func resetMemoryDataView()
    					"runtime.resetMemoryDataView": (sp) => {
    						sp >>>= 0;
    						this.mem = new DataView(this._inst.exports.mem.buffer);
    					},
    
    					// func nanotime1() int64
    					"runtime.nanotime1": (sp) => {
    						sp >>>= 0;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.read(b, off, len);
        }
    
        /**
         * Reads some number of bytes from the input stream and stores them into the buffer array b.
         *
         * @param b the buffer into which the data is read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top