- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 3,743 for shield (0.04 sec)
-
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
AtomicInteger count = new AtomicInteger(0); queryFieldConfig.highlightedFields(stream -> { stream.forEach(field -> { count.incrementAndGet(); assertTrue(field.equals("field1") || field.equals("field2") || field.equals("field3")); }); }); assertEquals(3, count.get()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024"); assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024"); assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024"); } } @Nested @DisplayName("Lifecycle and exception mapping")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD}) @Inherited public @interface Parameter { /** * name of the bean property used to get/set the field: by default, field name is used. * @return the name of the bean property */ @Nonnull String name() default ""; /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} for (int state : connectedStates) { transport.setState(state); assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected"); } } @Test @DisplayName("should correctly identify failed states")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java
import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks a dependency injection point for constructor, method, or field injection. * <p> * This annotation is used to identify injection points where the container should * provide an instance of the requested type. It can be applied to: * <ul>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
*/ Waiter(boolean unused) {} Waiter() { // avoid volatile write, write is made visible by subsequent CAS on waitersField field putThread(this, Thread.currentThread()); } // non-volatile write to the next field. Should be made visible by a subsequent CAS on // waitersField. void setNext(@Nullable Waiter next) { putNext(this, next); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
private Object getFieldValue(Object obj, String fieldName) { try { Field field = getField(obj.getClass(), fieldName); field.setAccessible(true); return field.get(obj); } catch (Exception e) { throw new RuntimeException("Failed to get field value: " + fieldName, e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
// Expect no exception to be thrown, but an error logged (which we can't directly assert here) assertDoesNotThrow(() -> SingletonContext.init(null)); assertNotNull(SingletonContext.getInstance()); // Should still initialize } @Test void testGetInstanceInitializesIfNull() { // Test getInstance initializes the context if it's null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "mid", new AtomicLong()); } // Utility: reflectively set a private/protected field (searches up the hierarchy) private static void setField(Object target, String name, Object value) { try { Field f = findField(target.getClass(), name); f.setAccessible(true); f.set(target, value); } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // First call should read the file NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result1); // Second call should use cached data (file not modified) NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0)