Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,069 for nBytes (0.15 sec)

  1. cmd/bucket-replication-metrics_gen.go

    					z.Curr.Count, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Count")
    						return
    					}
    				case "Bytes":
    					z.Curr.Bytes, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Bytes")
    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr")
    						return
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // InterfaceIndex (4 bytes)
            bb.putInt(interfaceIndex);
    
            // Capability (4 bytes)
            bb.putInt(capability);
    
            // Reserved (4 bytes) - must be 0
            bb.putInt(0);
    
            // LinkSpeed (8 bytes) - in bits per second
            bb.putLong((long) linkSpeed * 1000000L);
    
            // SockAddr_Storage (128 bytes)
            encodeSockaddr(buffer, 24);
    
            return buffer;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	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: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            // LeaseKey (16 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            // LeaseState (4 bytes)
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        }
    
        /**
         * Get maximum receive size
         *
         * @return maximum receive size in bytes
         */
        public int getMaxReceiveSize() {
            return maxReceiveSize;
        }
    
        /**
         * Set maximum receive size
         *
         * @param maxReceiveSize maximum receive size in bytes
         */
        public void setMaxReceiveSize(int maxReceiveSize) {
            this.maxReceiveSize = maxReceiveSize;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if len(bytesBuffer1.Bytes()) != len(content) {
    		t.Errorf("%s: Expected content length to be `%d`, but instead found `%d`", instanceType, len(content), len(bytesBuffer1.Bytes()))
    	}
    
    	var bytesBuffer2 bytes.Buffer
    	_, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, readerNoEOF, length, "", ""), opts)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        Random rng = new Random(0L);
        byte[] bytes = new byte[rng.nextInt(256) + 1];
        rng.nextBytes(bytes);
        assertEquals(hashFunction.hashBytes(bytes), hashFunction.hashBytes(ByteBuffer.wrap(bytes)));
      }
    
      static void assertHashByteBufferExhaustsBuffer(HashFunction hashFunction) {
        Random rng = new Random(0L);
        byte[] bytes = new byte[rng.nextInt(256) + 1];
        rng.nextBytes(bytes);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * except using little-endian byte order.
       *
       * @return the next two bytes of the input stream, interpreted as an unsigned 16-bit integer in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readUnsignedShort() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

          ByteSource
      {
    
        final byte[] bytes;
        final int offset;
        final int length;
    
        ByteArrayByteSource(byte[] bytes) {
          this(bytes, 0, bytes.length);
        }
    
        // NOTE: Preconditions are enforced by slice, the only non-trivial caller.
        ByteArrayByteSource(byte[] bytes, int offset, int length) {
          this.bytes = bytes;
          this.offset = offset;
          this.length = length;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LittleEndianByteArray.java

      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
       * @return a long of a concatenated 8 bytes
       */
      static long load64(byte[] input, int offset) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top