Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 122 for strip (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals(8, bytesRead);
            assertTrue(fileInfo.toString().contains("endOfFile=" + expectedValue));
        }
    
        @Test
        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Test various values
            long[] testValues = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEFL };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			val, ok = reqQueries[header]
    		}
    		if ok {
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = val
    			continue
    		}
    		switch header {
    		case "expect":
    			// Golang http server strips off 'Expect' header, if the
    			// client sent this as part of signed headers we need to
    			// handle otherwise we would see a signature mismatch.
    			// `aws-cli` sets this as part of signed headers.
    			//
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

        public void reset() {
            log.info("[{}] Manually resetting circuit breaker to CLOSED", name);
            transitionTo(State.CLOSED);
        }
    
        /**
         * Manually trip the circuit breaker to open state
         */
        public void trip() {
            log.info("[{}] Manually tripping circuit breaker to OPEN", name);
            transitionTo(State.OPEN);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. docs/distributed/README.md

    Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/minio/minio/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class).
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Dfs.java

             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
            while (ki > 1 && key.charAt(ki - 1) == '\\') {
                ki--;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Reset and verify
            messageBlock.reset();
            verify(messageBlock).reset();
        }
    
        @Test
        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[512];
            int encodeIndex = 0;
            int decodeIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes
    
            // Verify the values match after round-trip
            assertEquals(TEST_CREATE_TIME, decoded.getCreateTime());
            assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime());
            assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
    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/src/com/google/common/escape/UnicodeEscaper.java

       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/UnicodeEscaper.java

       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top