Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 490 for Cases (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         *
         * <p>{@link #getModuleName(Path)} is preferred when only the module name is desired,
         * because a name may be present even if the descriptor is absent. This method is for
         * cases when more information is desired, such as the set of exported packages.</p>
         *
         * @param dependency path to the dependency for which to get the module name
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Factory methods for creating different types of sources.
     * <p>
     * This class provides specialized source implementations for different use cases:
     * <ul>
     *   <li>Path sources - simple access to file content</li>
     *   <li>Build sources - POM files being actively built by Maven</li>
     *   <li>Resolved sources - POMs resolved from repositories</li>
     * </ul>
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Objects;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Joiner.java

         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Test cases for signature-V2.
    	testCasesV2 := []struct {
    		expectedStatus int
    		secretKey      string
    		formData       map[string]string
    	}{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                readBytes.setAccessible(true);
                assertEquals(0, readBytes.invoke(cancel, buffer, position));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle empty byte arrays")
            void testWithEmptyArrays() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SecurityBlobTest.java

    import org.mockito.Spy;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SecurityBlobTest {
    
        // Parameter source for toString() hex rendering cases
        static Stream<Arguments> hexCases() {
            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ServerResponseValidatorTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbException;
    
    /**
     * Test cases for ServerResponseValidator
     */
    public class ServerResponseValidatorTest {
    
        private ServerResponseValidator validator;
    
        @BeforeEach
        public void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for a {@link Table} implementation supporting reads and writes.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractTableTest<C extends @Nullable Character>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top