Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 962 for buffers (0.2 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                _dst.enc_ndr_referent(this.name.buffer, 1);
                _dst.enc_ndr_short(this.dns_domain.length);
                _dst.enc_ndr_short(this.dns_domain.maximum_length);
                _dst.enc_ndr_referent(this.dns_domain.buffer, 1);
                _dst.enc_ndr_short(this.dns_forest.length);
                _dst.enc_ndr_short(this.dns_forest.maximum_length);
                _dst.enc_ndr_referent(this.dns_forest.buffer, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        @Test
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[10];
            int result = response.readSetupWireFormat(buffer, 0, 10);
            assertEquals(0, result, "readSetupWireFormat should always return 0.");
        }
    
        /**
         * Tests the readParametersWireFormat method.
         */
        @Test
        void testReadParametersWireFormat() {
            byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            }
            this.setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            this.eaErrorOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastNameOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen_test.go

    	v := allTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeallTierStats(b *testing.B) {
    	v := allTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
            this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            if (this.isExtendedSecurity()) {
                final int blobLength = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                this.blob = new byte[blobLength];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(testTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile
            SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize
            SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(512, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 15);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 19);
            SMBUtil.writeInt4(-5000, buffer, bufferIndex + 23);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 27);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
            buffer[bufferIndex + 35] = (byte) 0x80; // 128 as unsigned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. cmd/batch-replicate_gen_test.go

    	v := BatchJobReplicateCredentials{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeBatchJobReplicateCredentials(b *testing.B) {
    	v := BatchJobReplicateCredentials{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedReader(new InputStreamReader(new FileInputStream(file), charset));
      }
    
      /**
       * Returns a buffered writer that writes to a file using the given character set.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top