Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 854 for xBytes (3.21 sec)

  1. cmd/httprange.go

    )
    
    const (
    	byteRangePrefix = "bytes="
    )
    
    // HTTPRangeSpec represents a range specification as supported by S3 GET
    // object request.
    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/archive/zip/example_test.go

    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  4. lib/time/mkzip.go

    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         */
        public void setLength(final int length) {
            this.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) {
            this.index += n;
            if (this.index - this.start > this.deferred.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/SerializeUtil.java

        /**
         * Converts a byte array to an object.
         *
         * @param bytes the byte array (must not be {@literal null})
         * @return the deserialized object
         */
        public static Object fromBinaryToObject(final byte[] bytes) {
            assertArgumentNotEmpty("bytes", bytes);
    
            try {
                final ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
                final ObjectInputStream ois = new ObjectInputStream(bais);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Signature (16 bytes)
            byte[] signature = new byte[16];
            new SecureRandom().nextBytes(signature);
            System.arraycopy(signature, 0, buffer, index, 16);
            index += 16;
    
            // Nonce (16 bytes)
            System.arraycopy(testNonce, 0, buffer, index, 16);
            index += 16;
    
            // Original message size (4 bytes) - little-endian
            int messageSize = 1024;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/PairedStats.java

        }
        if (value <= -1.0) {
          return -1.0;
        }
        return value;
      }
    
      // Serialization helpers
    
      /** The size of byte array representation in bytes. */
      private static final int BYTES = Stats.BYTES * 2 + Double.SIZE / Byte.SIZE;
    
      /**
       * Gets a byte array representation of this instance.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

    class ConfiguredPublicSuffixDatabaseTest {
      private val list = ConfiguredPublicSuffixList()
      private val publicSuffixDatabase = PublicSuffixDatabase(list)
    
      @Test fun longestMatchWins() {
        list.bytes =
          Buffer()
            .writeUtf8("com\n")
            .writeUtf8("my.square.com\n")
            .writeUtf8("square.com\n")
            .readByteString()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top