Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,763 for lengths (1.94 sec)

  1. src/test/java/jcifs/netbios/NameServicePacketTest.java

            int writeBodyWireFormat(byte[] dst, int dstIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int readBodyWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                dstIndex += str.length() * 2;
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
                dst[dstIndex++] = (byte) '\0';
            } else {
                final byte[] b = Strings.getOEMBytes(str, this.getConfig());
                System.arraycopy(b, 0, dst, dstIndex, b.length);
                dstIndex += b.length;
                dst[dstIndex] = (byte) '\0';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            return this.fp;
        }
    
        @Override
        public void seek(final long pos) {
            this.fp = pos;
        }
    
        @Override
        public long length() throws SmbException {
            return this.file.length();
        }
    
        @Override
        public void setLength(final long newLength) throws SmbException {
            try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

        RandomAccessFile rf = new RandomAccessFile(temp, "rw");
        rf.writeByte(0);
        rf.close();
        assertEquals(asciiFile.length(), temp.length());
        assertFalse(Files.equal(asciiFile, temp));
    
        assertTrue(Files.asByteSource(asciiFile).contentEquals(Files.asByteSource(asciiFile)));
    
        // 0-length files have special treatment (/proc, etc.)
        assertTrue(Files.equal(asciiFile, new BadLengthFile(asciiFile, 0)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. cmd/metacache-stream_test.go

    		}
    	}
    	if entries.len() != len(want) {
    		t.Fatal("unexpected length:", entries.len(), "want:", len(want))
    	}
    
    	want = want[:0]
    	entries, err = r.readN(0, false, true, false, "")
    	if err != nil {
    		t.Fatal(err, entries.len())
    	}
    	if entries.len() != len(want) {
    		t.Fatal("unexpected length:", entries.len(), "want:", len(want))
    	}
    
    	// Reload.
    	r = loadMetacacheSample(t)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          // Parse protocol like "HTTP/1.1" followed by a space.
          val codeStart: Int
          val protocol: Protocol
          if (statusLine.startsWith("HTTP/1.")) {
            if (statusLine.length < 9 || statusLine[8] != ' ') {
              throw ProtocolException("Unexpected status line: $statusLine")
            }
            val httpMinorVersion = statusLine[7] - '0'
            codeStart = 9
            protocol =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        public String toString() {
            return ("TransTransactNamedPipeResponse[" + super.toString() + "]");
        }
    
        /**
         * Gets the length of the response data received from the named pipe.
         *
         * @return response data length
         */
        public int getResponseLength() {
            return getDataCount();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            assertTrue(c.isInterface(), "SpnegoConstants must be an interface");
            assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields");
            assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");
            assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors");
        }
    
        @Test
        @DisplayName("Fields are public static final Strings with expected values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. docs/metrics/healthcheck/README.md

    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    X-Xss-Protection: 1; mode=block
    Date: Tue, 21 Jul 2020 00:36:14 GMT
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jul 06 16:18:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Hexdump.java

         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
         * @return a hexadecimal string representation of the value, padded to the specified size
         */
        public static String toHexString(final int val, final int size) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top