- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,213 for Given (0.02 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
/** * Performs a lookup for given typed component. * * @param type The component type. * @return The component. * @param <T> The component type. * @throws LookupException if no such component or there is some provisioning related issue. */ @Nonnull <T> T lookup(Class<T> type); /** * Performs a lookup for given typed component. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
return mockCtx; } @Test @DisplayName("Should create Type 3 message with authentication data") void testType3MessageCreation() throws Exception { // Given Type2Message type2 = createMockType2Message(); String password = "testpassword"; String domain = "TESTDOMAIN"; String username = "testuser"; String workstation = "TESTWS";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} /** * Test that releaseBuffer validates buffer before accepting it. */ @Test public void testReleaseBufferValidation() { // Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
*/ public abstract class FieldUtil { /** * Do not instantiate. */ protected FieldUtil() { } /** * Returns the value of a {@code static} field represented by the given {@link Field}. * * @param <T> the type of the field * @param field the field (must not be {@literal null}) * @return the value represented by the {@code static} fieldCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testOriginalMessageSize() { // Given int messageSize = 1024; // When transformHeader.setOriginalMessageSize(messageSize); // Then assertEquals(messageSize, transformHeader.getOriginalMessageSize()); } @Test @DisplayName("Should set and get flags") void testFlags() { // Given int flags = 0x0001; // Encrypted flag
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* It verifies that a new DfsReferral object is initialized with its 'next' * property pointing to itself. */ @Test void testDefaultConstructor() { // Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null.");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Constructor should store delegate reference") void testConstructorStoresDelegate() { // Given Configuration testDelegate = mock(Configuration.class); // When DelegatingConfiguration config = new DelegatingConfiguration(testDelegate); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
void testFileBasicInfoSize() { // Given FileBasicInfo info = new FileBasicInfo(); // When & Then assertEquals(40, info.size()); } @Test @DisplayName("Test FileBasicInfo toString method") void testFileBasicInfoToString() { // Given FileBasicInfo info =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* Returns a filter for directories that may contain paths accepted by the given matcher. * The given path matcher should be an instance created by this service. * The path matcher returned by this method expects directory paths. * If that matcher returns {@code false}, then the directory will definitively not contain * the paths selected by the matcher given in argument to this method.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (0) -
internal/config/lambda/event/targetidset.go
func (set TargetIDSet) add(targetID TargetID) { set[targetID] = struct{}{} } // Union - returns union with given set as new set. func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet { nset := set.Clone() for k := range sset { nset.add(k) } return nset } // Difference - returns difference with given set as new set. func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet { nset := NewTargetIDSet()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.9K bytes - Click Count (0)