- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 809 for zeros (1.38 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
@Test @DisplayName("Test readDataWireFormat with error code returns 4") void testReadDataWireFormatWithErrorCode() throws Exception { byte[] buffer = new byte[100]; // Set error code to non-zero setErrorCode(response, 1); int result = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(4, result); assertNull(response.getSecurityDescriptor()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
int offset = 0; setHeaderStart(response, 64); // Write structure with zero length SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(0, buffer, offset + 4); // Zero length // When int bytesRead = response.readBytesWireFormat(buffer, offset); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
*/ public boolean isEmpty() { return this.sub_authority_count == 0; } /** * Checks whether the SID is blank (all sub-authorities zero). * * @return whether the SID is blank (all sub-authorities zero) */ public boolean isBlank() { boolean blank = true; for (final int sub : this.sub_authority) { blank = blank && sub == 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
// end of the token. It's where you are now, and you just read this token. if tok == '(' && in.Stack.Col() == prevCol+1 { // Macro has arguments. Scan list of formals. acceptArg := true args = []string{} // Zero length but not nil. Loop: for { tok = in.Stack.Next() switch tok { case ')': tok = in.Stack.Next() // First token of macro definition. break Loop case ',': if acceptArg {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 12.4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
checkVersionsOrder(c, d); checkVersionsOrder(b, d); checkVersionsOrder(a, d); } /** * Test all versions are equal when starting with many leading zeroes regardless of string length * (related to MNG-6572 optimization) */ @Test void testVersionEqualWithLeadingZeroes() { // versions with string lengths from 1 to 19
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex); dstIndex += 2; /* * windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
assertTrue(Smb2LeaseState.hasWriteCaching(customState)); assertTrue(Smb2LeaseState.hasHandleCaching(customState)); } @Test @DisplayName("Should handle zero state") void testZeroState() { assertFalse(Smb2LeaseState.hasReadCaching(0)); assertFalse(Smb2LeaseState.hasWriteCaching(0)); assertFalse(Smb2LeaseState.hasHandleCaching(0)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
assertEquals(0, response.getData().length); // The decode method returns only the header size (16 bytes)\n assertEquals(16, bytesDecoded); } @Test @DisplayName("Test decode with non-zero buffer index") void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* speed). * * To deal with such scenarios, we add an extra dimension, that of "past underutilization", * modeled by "storedPermits" variable. This variable is zero when there is no underutilization, * and it can grow up to maxStoredPermits, for sufficiently large underutilization. So, the * requested permits, by an invocation acquire(permits), are served from: *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64validation.s
CADDI4SPN $0, SP, X10 // ERROR "immediate cannot be zero" CADDI4SPN $6, SP, X10 // ERROR "must be a multiple of 4" CADDI4SPN $1024, SP, X10 // ERROR "must be in range [0, 1023]" CSLLI $63, X5, X6 // ERROR "rd must be the same as rs1" CSLLI $-1, X5 // ERROR "must be in range [0, 63]" CSLLI $0, X5 // ERROR "immediate cannot be zero" CSLLI $64, X5 // ERROR "must be in range [0, 63]"
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 13 12:17:37 UTC 2025 - 42.1K bytes - Viewed (0)