Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 886 for zero (0.02 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertThat(ArbitraryInstances.get(Double.class)).isEqualTo(Double.valueOf(0));
        assertEquals(UnsignedInteger.ZERO, ArbitraryInstances.get(UnsignedInteger.class));
        assertEquals(UnsignedLong.ZERO, ArbitraryInstances.get(UnsignedLong.class));
        assertEquals(0, ArbitraryInstances.get(BigDecimal.class).intValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 100; // Start at non-zero index
    
            // Set structure size to 9 (valid)
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(50, buffer, bufferIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. tests/postgres_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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertNotNull(trans);
            assertEquals(0, trans.maxParameterCount);
            assertEquals(0xFFFF, trans.maxDataCount);
        }
    
        @Test
        @DisplayName("Test with zero length data")
        void testWithZeroLengthData() {
            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, 0);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top