Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 934 for aBytes (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
      // Guarded by this.
      override lateinit var bytes: ByteString
      override lateinit var exceptionBytes: ByteString
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Create message with 5 bytes of data
            byte[] data = new byte[] { 10, 20, 30, 40, 50 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Skip 3 bytes
            assertEquals(3, sis.skip(3));
    
            // Read remaining 2 bytes
            byte[] remaining = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/SpnegoToken.java

        }
    
        /**
         * Encodes this SPNEGO token to a byte array
         * @return the encoded token bytes
         */
        public abstract byte[] toByteArray();
    
        /**
         * Parses the provided token bytes to populate this SPNEGO token
         * @param token the token bytes to parse
         * @throws IOException if parsing fails
         */
        protected abstract void parse(byte[] token) throws IOException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalhealingTracker(t *testing.T) {
    	v := healingTracker{}
    	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: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
        HASH_FUNCTION_VIA_HASHER() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes();
          }
        };
        ;
    
        abstract byte[] hash(Algorithm algorithm, byte[] input);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
        HASH_FUNCTION_VIA_HASHER() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes();
          }
        };
        ;
    
        abstract byte[] hash(Algorithm algorithm, byte[] input);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public void setLength(final int length) {
            deferred.length = length;
        }
    
        /**
         * Advances the buffer index by the specified number of bytes.
         *
         * @param n the number of bytes to advance
         */
        public void advance(final int n) {
            index += n;
            if (index - start > deferred.length) {
                deferred.length = index - start;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    	}
    	gr.Close()
    	if !bytes.Equal(output.Bytes(), smallData) {
    		t.Fatalf("Corrupted data is found")
    	}
    
    	// Test: Upload a file bigger than the small file threshold
    	// under the same bucket & key name and try to read it again.
    
    	output.Reset()
    	bigData := bytes.Repeat([]byte{'b'}, smallFileThreshold*numberOfDisks/2)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

        public Smb2LeaseKey() {
            this.key = new byte[LEASE_KEY_SIZE];
            RANDOM.nextBytes(this.key);
        }
    
        /**
         * Create a lease key from existing bytes
         *
         * @param key 16-byte array
         * @throws IllegalArgumentException if key is not 16 bytes
         */
        public Smb2LeaseKey(byte[] key) {
            if (key == null) {
                throw new IllegalArgumentException("Lease key cannot be null");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            // Test with zero
            byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
            AvFlags zeroAvFlags = new AvFlags(zeroBytes);
            assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
            assertEquals(0, zeroAvFlags.getFlags(), "Flags should be 0 for zero bytes");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top