- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 954 for zero (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(maxData.length, bytesWritten); } @Test @DisplayName("Test zero-length write with valid data array") void testZeroLengthWrite() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, 0); byte[] dst = new byte[100];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/main/java/jcifs/smb/SmbTreeHandleImpl.java
final long us = this.usageCount.decrementAndGet(); if (us == 0) { this.treeConnection.release(); } else if (us < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } @Override protected void finalize() throws Throwable { try { // Add null check to prevent NPE if object was not fully constructed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips.s
// } NOP F2 // LNOP imm // { // outcode(int($1), &$2, 0, &nullgen); // } NOP $4 // // special // SYSCALL BREAK SYNC // // conditional move on zero/nonzero gp value // CMOVN R1, R2, R3 CMOVZ R1, R2, R3 // // conditional move on fp false/true // CMOVF R1, R2 CMOVT R1, R2 // // conditional traps //Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 6.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
.Builder() .headersDelay(500, TimeUnit.MILLISECONDS) .build(), ) client = client .newBuilder() .readTimeout(Duration.ZERO) .writeTimeout(Duration.ZERO) .callTimeout(Duration.ofMillis(100)) .build() newWebSocket() clientListener.assertFailure(InterruptedIOException::class.java, "timeout") } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] header = buildHeader(NtStatus.NT_STATUS_BUFFER_OVERFLOW); // SrvPipePeekResponse expects at least 16 bytes (4 ints) output byte[] out = new byte[16]; // leave all fields zero for simplicity byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_PIPE_PEEK, new byte[16], 0, null, out.length, out, 0); byte[] packet = new byte[header.length + body.length];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/archive/tar/writer_test.go
ModTime: time.Unix(1314603082, 0), }, nil}, testWrite{"", 0, nil}, testClose{nil}, }, }, { // The truncated test file was produced using these commands: // dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt // tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar file: "testdata/writer-big.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg,
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
http://example\sexample.com # This should fail http://Goo%20\sgoo%7C|.com # U+3000 is mapped to U+0020 (space) which is disallowed http://GOO\u00a0\u3000goo.com # Other types of space (no-break, zero-width, zero-width-no-break) are # name-prepped away to nothing. # U+200B, U+2060, and U+FEFF, are ignored http://GOO\u200b\u2060\ufeffgoo.com s:http p:/ h:googoo.com
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
public void testFuzzyEqualsZeroTolerance() { // make sure we test -0 tolerance for (double zero : Doubles.asList(0.0, -0.0)) { for (double a : ALL_DOUBLE_CANDIDATES) { for (double b : ALL_DOUBLE_CANDIDATES) { assertEquals( a == b || (Double.isNaN(a) && Double.isNaN(b)), DoubleMath.fuzzyEquals(a, b, zero)); } } } } public void testFuzzyEqualsBadTolerance() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
tests/gaussdb_test.go
} yasuo := Yasuo{Name: "jinzhu"} if err := DB.Create(&yasuo).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } if yasuo.ID == "" { t.Fatal("should be able to has ID, but got zero value") } var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime()); assertEquals(TEST_ATTRIBUTES, decoded.getAttributes()); } @Test @DisplayName("Test with zero times and attributes") void testWithZeroValues() throws SMBProtocolDecodingException { FileBasicInfo info = new FileBasicInfo(0L, 0L, 0L, 0L, 0); // Encode byte[] buffer = new byte[50];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)