- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 4,822 for Void (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
@Mock private Decodable mockDecodable; private Smb2QueryInfoResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); } @Test @DisplayName("Test constructor initializes with config and info type/class") void testConstructor() { byte infoType = Smb2Constants.SMB2_0_INFO_FILE; byte infoClass = FileInformation.FILE_INTERNAL_INFO;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (byte value : VALUES) { assertThat(Bytes.hashCode(value)).isEqualTo(Byte.hashCode(value)); } } public void testContains() { assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse(); assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/cbean/ca/bs/BsUserInfoCA.java
opLambda.callback(builder); } } public void setCreatedAt_DateRange() { setCreatedAt_DateRange(null); } public void setCreatedAt_DateRange(ConditionOptionCall<DateRangeAggregationBuilder> opLambda) { setCreatedAt_DateRange("createdAt", opLambda, null); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 12.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
&t)); return wrap(t); } void TF_DeleteExecutionContext(TF_ExecutionContext* c) { unwrap(c)->Release(); } TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* c) { return wrap((unwrap(c)->CreateOperation())); } void TF_DeleteAbstractOp(TF_AbstractOp* op) { unwrap(op)->Release(); } void TF_DeleteAbstractTensor(TF_AbstractTensor* t) { unwrap(t)->Unref(); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
} } public void testFloorPowerOfTwoNegative() { for (int x : NEGATIVE_INTEGER_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> IntMath.floorPowerOfTwo(x)); } } public void testCeilingPowerOfTwoZero() { assertThrows(IllegalArgumentException.class, () -> IntMath.ceilingPowerOfTwo(0)); } public void testFloorPowerOfTwoZero() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Flag constants should be powers of 2") void shouldBeValidFlagPowersOfTwo(int flag) { assertTrue(flag > 0, "Flag should be positive"); assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag)); } @Test @DisplayName("Should validate all constants are unique") void shouldHaveUniqueConstants() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
@Mock private CIFSContext mockContext; @Mock private jcifs.Configuration mockConfig; private PersistentHandleManager manager; private Path tempDir; @BeforeEach public void setUp() throws IOException { MockitoAnnotations.openMocks(this); // Create temporary directory for test state tempDir = Files.createTempDirectory("jcifs-test-handles");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0)