Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,114 for 0bytes (0.09 sec)

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

      }
    
      /** Convenience method to compute a fingerprint on a full bytes array. */
      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	}
    
    	sKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root secret key")})
    	if err != nil {
    		// Here, we must have permission. Otherwise, we would have failed earlier.
    		logger.Fatal(err, "Unable to generate root secret key using KMS")
    	}
    
    	accessKey, err := auth.GenerateAccessKey(20, bytes.NewReader(aKey))
    	if err != nil {
    		logger.Fatal(err, "Unable to generate root access key")
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. cmd/storage-rest-common_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalnsScannerOptions(t *testing.T) {
    	v := nsScannerOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         *
         * @param buffer the buffer to read into
         * @param remoteAddress remote memory address
         * @param remoteKey remote access key
         * @param length number of bytes to read
         * @return number of bytes read
         * @throws IOException if operation fails
         */
        public int rdmaRead(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException {
            if (!isRdmaConnected()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

                this.setupBytesWritten = bytes;
            }
    
            void setParameterBytesWritten(int bytes) {
                this.parameterBytesWritten = bytes;
            }
    
            void setDataBytesWritten(int bytes) {
                this.dataBytesWritten = bytes;
            }
        }
    
        @BeforeEach
        void setUp() {
            transaction = new TestSmbComTransaction();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    /** Returns a random portion of the requested bytes on each call. */
    @NullUnmarked
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
    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. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        private byte[] prepareAllocationInfoBuffer() {
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // idFileSystem (4 bytes)
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
            // alloc (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Signature (8 bytes)
            for (int i = 14; i < 22; i++) {
                buffer[i] = 0x00;
            }
    
            // Reserved (2 bytes)
            buffer[22] = 0x00;
            buffer[23] = 0x00;
    
            // TID (2 bytes)
            buffer[24] = 0x01;
            buffer[25] = 0x00;
    
            // PID (2 bytes)
            buffer[26] = 0x02;
            buffer[27] = 0x00;
    
            // UID (2 bytes)
            buffer[28] = 0x03;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
       * If this flag is set, the next four
       * bytes represent the mask key. These bytes appear after any additional bytes specified by [B1_MASK_LENGTH].
       */
      internal const val B1_FLAG_MASK = 128
    
      /**
       * Byte 1 mask for the payload length.
       *
       * If this value is [PAYLOAD_SHORT], the next two
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqL2")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 52 bytes (lease V2 structure)
            return 16 + 4 + 4 + 52;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top