Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 934 for aBytes (0.61 sec)

  1. src/archive/tar/strconv.go

    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    // parseString parses bytes as a NUL-terminated C-style string.
    // If a NUL byte is not found then the whole slice is returned as a string.
    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    		return string(b[:i])
    	}
    	return string(b)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Funnels.java

        @Override
        public void write(int b) {
          sink.putByte((byte) b);
        }
    
        @Override
        public void write(byte[] bytes) {
          sink.putBytes(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int off, int len) {
          sink.putBytes(bytes, off, len);
        }
    
        @Override
        public String toString() {
          return "Funnels.asOutputStream(" + sink + ")";
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Funnels.java

        @Override
        public void write(int b) {
          sink.putByte((byte) b);
        }
    
        @Override
        public void write(byte[] bytes) {
          sink.putBytes(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int off, int len) {
          sink.putBytes(bytes, off, len);
        }
    
        @Override
        public String toString() {
          return "Funnels.asOutputStream(" + sink + ")";
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacMac.java

         * @param usage the Kerberos key usage number for this operation
         * @param baseKey the base Kerberos key for key derivation
         * @param input the data to calculate the MAC for
         * @return the calculated MAC bytes (truncated to 12 bytes)
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            String name = "TEST            ";
            System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 13, 16);
            src[srcIndex + 28] = 0x00; // hex code
            src[srcIndex + 29] = 0x04; // flags
            // MAC address (6 bytes)
            byte[] mac = new byte[6];
            System.arraycopy(mac, 0, src, srcIndex + 31, 6);
            // Stats (6 bytes)
            byte[] stats = new byte[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EncodableTest.java

            // Act
            int written = enc.encode(dst, dstIndex);
    
            // Assert: reported written bytes matches size() and requested len.
            assertEquals(len, enc.size(), "size() must equal provided length");
            assertEquals(len, written, "encode() must return number of bytes written");
    
            // Assert: copied region equals the source slice.
            for (int i = 0; i < len; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
        const val HEADER_TABLE_SIZE = 1
    
        /** HTTP/2: The peer must not send a PUSH_PROMISE frame when this is 0. */
        const val ENABLE_PUSH = 2
    
        /** Sender's maximum number of concurrent streams. */
        const val MAX_CONCURRENT_STREAMS = 3
    
        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 4
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Structure Size (2 bytes) - should be 24
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
            // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.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
    - 6.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            int bytesWritten = info.encode(buffer, startIndex);
    
            // Verify bytes written (encode returns 40, which includes 4 padding bytes)
            assertEquals(40, bytesWritten);
    
            // Create a new FileBasicInfo and decode to verify encoding
            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes
    
            // Verify the values match after round-trip
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top