Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 493 for 01 (0.03 sec)

  1. cmd/object-api-multipart_test.go

    		// Creating sequence of parts for same uploadID.
    		// Used to ensure that the ListMultipartResult produces one output for the four parts uploaded below for the given upload ID.
    		{bucketNames[0], objectNames[0], uploadIDs[0], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd")), "e2fc714c4727ee9395f324cd2e7f331f"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
    
            // Test with negative length (should still return 0)
            result = response.readParametersWireFormat(smallBuffer, 0, -1);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test command type is correct")
        void testCommandType() {
            // Verify that the command is not set in constructor (defaults to 0)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        // The radix is used as an array index, so try a negative value.
        assertThrows(NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", -1));
      }
    
      public void testToString() {
        // We can easily afford to test this exhaustively.
        for (int i = 0; i <= 0xff; i++) {
          assertThat(UnsignedBytes.toString((byte) i)).isEqualTo(Integer.toString(i));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    		return etag
    	}
    	return ""
    }
    
    // Beginning of unix time is treated as sentinel value here.
    var (
    	timeSentinel     = time.Unix(0, 0).UTC()
    	timeSentinel1970 = time.Unix(0, 1).UTC() // 1970 used for special cases when xlmeta.version == 0
    )
    
    // Boot modTimes up to disk count, setting the value to time sentinel.
    func bootModtimes(diskCount int) []time.Time {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            @Test
            @DisplayName("Should throw exception on negative length")
            void testDecodeWithNegativeLength() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, 0, -1),
                        "Should throw exception for negative length");
            }
    
            @Test
            @DisplayName("Should throw exception on buffer overflow")
            void testDecodeWithBufferOverflow() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    q.setResponse(qr);
                    return cr;
                }
                if (arg instanceof Smb2QueryDirectoryRequest) {
                    queryCount[0]++;
                    if (queryCount[0] == 1) {
                        // This is the second page: one more file
                        Smb2QueryDirectoryResponse qr =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SidResolverTest.java

                    .resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), anyInt(), eq(-1));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(mockContext, testServerName, testSids, 0, -1));
        }
    
        @Test
        void testResolveSidsWithOffsetAndLength_OutOfBounds() throws CIFSException {
            doThrow(new CIFSException("Array index out of bounds")).when(sidResolver)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void write(final int b) throws IOException {
            tmp[0] = (byte) b;
            write(tmp, 0, 1);
        }
    
        /**
         * Writes b.length bytes from the specified byte array to this
         * file output stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. docs/smb3-features/03-multi-channel-design.md

            if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0;
            
            // Adjust based on error rate
            double errorRate = getErrorRate();
            if (errorRate > 0.1) score -= 50;
            else if (errorRate > 0.01) score -= 20;
            
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
            score += remoteInterface.getScore() / 100;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test setUid with boundary values")
        void testSetUidWithBoundaryValues() {
            // Test with various uid values
            int[] uids = { 0, 1, Integer.MAX_VALUE, Integer.MIN_VALUE };
    
            for (int uid : uids) {
                doNothing().when(messageBlock).setUid(uid);
                messageBlock.setUid(uid);
                verify(messageBlock).setUid(uid);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top