Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,280 for Byte (0.03 sec)

  1. src/bufio/bufio_test.go

    func TestUnreadByteOthers(t *testing.T) {
    	// A list of readers to use in conjunction with UnreadByte.
    	var readers = []func(*Reader, byte) ([]byte, error){
    		(*Reader).ReadBytes,
    		(*Reader).ReadSlice,
    		func(r *Reader, delim byte) ([]byte, error) {
    			data, err := r.ReadString(delim)
    			return []byte(data), err
    		},
    		// ReadLine doesn't fit the data/pattern easily
    		// so we leave it out. It should be covered via
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. cmd/bitrot.go

    func NewBitrotVerifier(algorithm BitrotAlgorithm, checksum []byte) *BitrotVerifier {
    	return &BitrotVerifier{algorithm, checksum}
    }
    
    // BitrotVerifier can be used to verify protected data.
    type BitrotVerifier struct {
    	algorithm BitrotAlgorithm
    	sum       []byte
    }
    
    // BitrotAlgorithmFromString returns a bitrot algorithm from the given string representation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

        byte[] b;
        int off, dataCompactionMode, dataLength, dataOffset;
    
        SmbComReadAndXResponse() {
        }
        SmbComReadAndXResponse( byte[] b, int off ) {
            this.b = b;
            this.off = off;
        }
    
        void setParam( byte[] b, int off ) {
            this.b = b;
            this.off = off;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. guava/src/com/google/common/collect/CompactHashing.java

        }
        if (buckets <= BYTE_MAX_SIZE) {
          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
          return new short[buckets];
        } else {
          return new int[buckets];
        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil_test.go

    		src      io.Reader
    		skipLen  int64
    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    		{bytes.NewBuffer([]byte("abc")), 2, "c"},
    		{bytes.NewBuffer([]byte("abc")), 3, ""},
    		{bytes.NewBuffer([]byte("abc")), 4, ""},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

    /**
     * byte配列用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class BinaryConversionUtil {
    
        /**
         * {@literal byte}の配列に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return {@literal byte}の配列
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_NONE = 0x0;
        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_II = 0x1;
        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_EXCLUSIVE = 0x8;
        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9;
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Fingerprint2011.java

        seedA += part3;
        seedB += rotateRight(seedA, 23);
        output[0] = seedA + part4;
        output[1] = seedB + c;
      }
    
      /*
       * Compute an 8-byte hash of a byte array of length greater than 64 bytes.
       */
      private static long fullFingerprint(byte[] bytes, int offset, int length) {
        // For lengths over 64 bytes we hash the end first, and then as we
        // loop we keep 56 bytes of state: v, w, x, y, and z.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PACTest.java

            byte[] keyb = Hex.decode(key);
            byte[] datab = data.getBytes(StandardCharsets.US_ASCII);
            byte[] javaMac = sun.security.krb5.internal.crypto.ArcFourHmac.calculateChecksum(keyb, usage, datab, 0, datab.length);
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keyb, 23), datab);
            checkBytes(javaMac, mac);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top