Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,517 for byteEq (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        boolean verify(byte[] data, int offset, ServerMessageBlock response) {
            update(macSigningKey, 0, macSigningKey.length);
            int index = offset;
            update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); 
            index += ServerMessageBlock.SIGNATURE_OFFSET;
            byte[] sequence = new byte[8]; 
            ServerMessageBlock.writeInt4(response.signSeq, sequence, 0); 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-config-kv.go

    	}
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    func setConfigKV(ctx context.Context, objectAPI ObjectLayer, kvBytes []byte) (result setConfigResult, err error) {
    	result.Cfg, err = readServerConfig(ctx, objectAPI, nil)
    	if err != nil {
    		return
    	}
    
    	result.Dynamic, err = result.Cfg.ReadConfig(bytes.NewReader(kvBytes))
    	if err != nil {
    		return
    	}
    
    	result.SubSys, _, _, err = config.GetSubSys(string(kvBytes))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. internal/grid/grid.go

    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    		if cap(b) >= wantSz {
    			return b
    		}
    		PutByteBuffer(b)
    	}
    	if wantSz <= maxBufferSize {
    		b := *internal32KByteBuffer.Get().(*[]byte)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        byte[] bytes = decoded.getBytes(UTF_8);
        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
              (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88
            },
            Longs.toByteArray(0xFFEEDDCCBBAA9988L));
      }
    
      public void testFromByteArray() {
        assertThat(
                Longs.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x33}))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

                    final byte[] bytes = new byte[4096];
                    int length = bis.read(bytes);
                    while (length != -1) {
                        if (length != 0) {
                            final int len = length;
                            logger.fine(() -> {
                                try {
                                    return "<<< " + new String(bytes, 0, len, encoding);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/SipHashFunction.java

        private long v2 = 0x6c7967656e657261L;
        private long v3 = 0x7465646279746573L;
    
        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
        // and ending with a byte encoding the positive integer b mod 256.
        private long finalM = 0;
    
        SipHasher(int c, int d, long k0, long k1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  8. docs/debugging/inspect/utils.go

    import (
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/base64"
    	"encoding/pem"
    	"log"
    )
    
    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	}, nil
    }
    
    // To collect RX stats during "mc support perf net"
    // RXSample holds the RX bytes for the duration between
    // the last peer to connect and the first peer to disconnect.
    // This is to improve the RX throughput accuracy.
    type netPerfRX struct {
    	RX                uint64    // RX bytes
    	lastToConnect     time.Time // time at which last peer to connect to us
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. cmd/last-minute_gen.go

    	// string "N"
    	o = append(o, 0xa1, 0x4e)
    	o = msgp.AppendInt64(o, z.N)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *AccElem) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
Back to top