- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 839 for Zero (0.01 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertEquals(action, notifyInfo.getAction()); assertEquals(fileName, notifyInfo.getFileName()); } @Test @DisplayName("Test decode with multiple entries (non-zero next offset)") void testDecodeWithNextEntry() throws SMBProtocolDecodingException { String fileName = "test.txt"; int action = FileNotifyInformation.FILE_ACTION_REMOVED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} // Verifies that toString() formats bytes as lower-case hex with zero-padding @ParameterizedTest(name = "toString renders hex for {0}") @MethodSource("hexCases") @DisplayName("toString() renders lower-case hex with zero-padding") void toString_rendersHex(byte[] input, String expected) { // Arrange SecurityBlob blob = new SecurityBlob(input);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, 0L); // Prepare test data byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero setFieldValue(response, "wordCount", 10); // Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testValidArrayAllocation() throws Exception { validator.validateArrayAllocation(100, 10, 1000); validator.validateArrayAllocation(0, 10, 1000); // Zero size should be allowed } @Test public void testArrayAllocationNegativeSize() throws Exception { assertThrows(SmbException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private enum TimeoutsToUse { ANY(Timeout.values()), PAST(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO), FUTURE(Timeout.SMALL, Timeout.MAX), SMALL(Timeout.SMALL), FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL), INFINITE(Timeout.LARGE, Timeout.MAX); final ImmutableList<Timeout> timeouts; TimeoutsToUse(Timeout... timeouts) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
// Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /** * Test of readParameterWordsWireFormat with zero count */ @Test public void testReadParameterWordsWireFormatZeroCount() { // Given byte[] buffer = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
line int pos int } func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice { return &Slice{ tokens: tokens, base: base, line: line, pos: -1, // Next will advance to zero. } } func (s *Slice) Next() ScanToken { s.pos++ if s.pos >= len(s.tokens) { return scanner.EOF } return s.tokens[s.pos].ScanToken } func (s *Slice) Text() string {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte SMB_COM_NT_CREATE_ANDX = (byte) 0xA2; /* * Some fields specify the offset from the beginning of the header. This * field should be used for calculating that. This would likely be zero * but an implemantation that encorporates the transport header(for * efficiency) might use a different initial bufferIndex. For example, * to eliminate copying data when writing NbtSession data one might
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
} assertEquals( "A Set's hashCode() should be the sum of those of its elements.", expectedHashCode, getSet().hashCode()); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testHashCode_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); int expectedHashCode = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0)