- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 303 for getKind (0.24 seconds)
-
src/test/java/jcifs/DfsReferralDataTest.java
void testGetLink() { // Given String link = "/test/link"; when(mockReferralData.getLink()).thenReturn(link); // When String result = mockReferralData.getLink(); // Then assertEquals(link, result); verify(mockReferralData).getLink(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getLink()).thenReturn(link); assertEquals(link, mockReferralData.getLink()); verify(mockReferralData, times(1)).getLink(); // Test with concrete implementation concreteImplementation.setLink(link); assertEquals(link, concreteImplementation.getLink()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(123, Config.getInt(testProperties, "test.int", 0)); assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int"));
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) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
InetAddress LADDR = Config.getLocalHost(); /** Local port to bind to */ int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0); /** Maximum multiplex count */ int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT); /** Send buffer size in bytes */ int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE); /** Receive buffer size in bytes */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
tests/lru_test.go
func BenchmarkLRU_Freq_NoExpire(b *testing.B) { l := lru.NewLRU[int64, int64](8192, nil, 0) trace := make([]int64, b.N*2) for i := 0; i < b.N*2; i++ { if i%2 == 0 { trace[i] = getRand(b) % 16384 } else { trace[i] = getRand(b) % 32768 } } b.ResetTimer() for i := 0; i < b.N; i++ { l.Add(trace[i], trace[i]) } var hit, miss int for i := 0; i < b.N; i++ {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
okhttp/build.gradle.kts
"Automatic-Module-Name: okhttp3", "Bundle-SymbolicName: com.squareup.okhttp3", ) val androidSignature by configurations.getting val jvmSignature by configurations.getting val checkstyleConfig by configurations.getting // Animal Sniffer confirms we generally don't use APIs not on Java 8. configure<AnimalSnifferExtension> { annotation = "okhttp3.internal.SuppressSignatureCheck"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 22:16:39 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals(0, serverData.encryptionKeyLength); assertNull(serverData.encryptionKey); assertNull(serverData.guid); } /** * Test setting and getting byte field (sflags) */ @ParameterizedTest @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF }) @DisplayName("Test sflags field with various byte values")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should return dataCount assertEquals(5, result); } @Test void testGetSid() { // Test the getSid method // By default, it should be 0 assertEquals(0, response.getSid()); } @Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @return the field value * @throws IllegalAccessRuntimeException {@link IllegalAccessException} if an error occurs * @see #getInt(Field, Object) */ public static int getInt(final Field field) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); return getInt(field, null); } /** * Returns the value of a {@link Field} as an int. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0)