Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,517 for byte1 (0.04 sec)

  1. guava-tests/test/com/google/common/io/IoTestCase.java

      }
    
      /** Returns a byte array of length size that has values 0 .. size - 1. */
      static byte[] newPreFilledByteArray(int size) {
        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/SpnegoToken.java

    @SuppressWarnings ( "javadoc" )
    public abstract class SpnegoToken {
    
        private byte[] mechanismToken;
    
        private byte[] mechanismListMIC;
    
    
        public byte[] getMechanismToken () {
            return this.mechanismToken;
        }
    
    
        public void setMechanismToken ( byte[] mechanismToken ) {
            this.mechanismToken = mechanismToken;
        }
    
    
        public byte[] getMechanismListMIC () {
            return this.mechanismListMIC;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

            return true;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

    //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte)0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes( "ASCII" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
            this.name = "\\PIPE\\";
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = this.getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            SMBUtil.writeInt2(this.pipeFid, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        int b = in.read();
        assertEquals('y', b);
    
        verify(hasher).putByte((byte) 'y');
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArray() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(4, numOfByteRead);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        int b = in.read();
        assertEquals('y', b);
    
        verify(hasher).putByte((byte) 'y');
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArray() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(4, numOfByteRead);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  8. internal/bucket/bandwidth/measurement.go

    func newBucketMeasurement(initTime time.Time) *bucketMeasurement {
    	return &bucketMeasurement{
    		startTime: initTime,
    	}
    }
    
    // incrementBytes add bytes reported for a bucket.
    func (m *bucketMeasurement) incrementBytes(bytes uint64) {
    	atomic.AddUint64(&m.bytesSinceLastWindow, bytes)
    }
    
    // updateExponentialMovingAverage processes the measurements captured so far.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    		t.Fatalf("%s : %s", instanceType, err)
    	}
    
    	uploadIDs = append(uploadIDs, res.UploadID)
    	// Parts with size greater than 5 MiB.
    	// Generating a 6MiB byte array.
    	validPart := bytes.Repeat([]byte("abcdef"), 1*humanize.MiByte)
    	validPartMD5 := getMD5Hash(validPart)
    	// Create multipart parts.
    	// Need parts to be uploaded before CompleteMultiPartUpload can be called tested.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
Back to top