Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 886 for zero (0.21 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // SmbInfoAllocation.decode() always returns 20 bytes regardless of len parameter
            assertEquals(20, bytesRead);
            assertNotNull(response.getInfo());
    
            // The info should be created with zero values
            SmbInfoAllocation info = (SmbInfoAllocation) response.getInfo();
            assertEquals(0, info.getCapacity());
            assertEquals(0, info.getFree());
        }
    
        @Test
    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/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should initially have zero data length")
        void testInitialDataLength() {
            // Then
            assertEquals(0, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should initially have zero data remaining")
        void testInitialDataRemaining() {
            // Then
            assertEquals(0, response.getDataRemaining());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            // Assert
            assertEquals(expectedSize, size);
            verify(negotiationResponse).getTransactionBufferSize();
        }
    
        @Test
        @DisplayName("Test getTransactionBufferSize returns zero")
        void testGetTransactionBufferSizeZero() {
            // Arrange
            when(negotiationResponse.getTransactionBufferSize()).thenReturn(0);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    	}
    	return int64(x)
    }
    
    func (f *formatter) formatOctal(b []byte, x int64) {
    	if !fitsInOctal(len(b), x) {
    		x = 0 // Last resort, just write zero
    		f.err = ErrFieldTooLong
    	}
    
    	s := strconv.FormatInt(x, 8)
    	// Add leading zeros, but leave room for a NUL.
    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. cmd/rebalance-admin.go

    	Elapsed     time.Duration `json:"elapsed"`
    	ETA         time.Duration `json:"eta"`
    }
    
    type rebalancePoolStatus struct {
    	ID       int               `json:"id"`       // Pool index (zero-based)
    	Status   string            `json:"status"`   // Active if rebalance is running, empty otherwise
    	Used     float64           `json:"used"`     // Percentage used space
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle all-zero session key");
            assertEquals(16, signingKey.length, "Should produce 16-byte key");
            assertFalse(Arrays.equals(zeroSessionKey, signingKey), "Derived key should be different from all-zero input");
        }
    
        @Test
        @DisplayName("Should handle edge case with all 0xFF session key")
        void testDeriveKeys_AllFFSessionKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            }
        }
    
        // --- Server-side copy path (SMB2 + same tree) for zero-length files ---
    
        @Test
        @DisplayName("copyFile uses server-side copy for zero-length and returns")
        void copyFile_serverSide_zeroLength_happyPath() throws Exception {
            // Arrange
            SmbFile src = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

        }
      }
    
      /**
       * Returns whether the source has zero chars. The default implementation first checks {@link
       * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be
       * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code lengthIfKnown} returns zero, it is <i>possible</i> that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

        }
      }
    
      /**
       * Returns whether the source has zero chars. The default implementation first checks {@link
       * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be
       * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code lengthIfKnown} returns zero, it is <i>possible</i> that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return emptyMap();
                  }
                })
            .named("emptyMap")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyMap())
            .createTestSuite();
      }
    
      public Test testsForEmptyNavigableMap() {
        return MapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top