Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for explicit (0.12 sec)

  1. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MultimapBuilderTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // doesn't build without explicit type parameters on build() methods
      public void testGenerics() {
        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = new LinkedHashSet<>();
        elementsPlus.add(BEFORE_FIRST);
        elementsPlus.add(BEFORE_FIRST_2);
        elementsPlus.addAll(asList(elements));
        elementsPlus.add(AFTER_LAST);
        elementsPlus.add(AFTER_LAST_2);
        return Ordering.explicit(new ArrayList<>(elementsPlus));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull());
        }
    
        @Test
        @DisplayName("send with explicit null varargs propagates exception from implementation")
        void send_nullVarargsArray_throws() throws Exception {
            // Arrange: passing explicit null vararg array is edge scenario
            when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

     * <p>
     * Pattern syntax supports:
     * <ul>
     *   <li>Standard glob patterns with {@code *}, {@code ?}, and {@code **} wildcards</li>
     *   <li>Explicit syntax prefixes like {@code "glob:"} or {@code "regex:"}</li>
     *   <li>Maven 3 compatible behavior for patterns without explicit syntax</li>
     *   <li>Default exclusion patterns for SCM files when requested</li>
     * </ul>
     *
     * @since 4.0.0
     * @see PathMatcher
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                Kerb5Authenticator auth = new Kerb5Authenticator(subject);
                assertEquals("EXAMPLE.COM", auth.getUserDomain());
            }
    
            @Test
            @DisplayName("getUserDomain: explicit realm overrides")
            void getUserDomain_fromExplicitRealm() {
                Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
                auth.setRealm("REALM.TEST");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/HandlerTest.java

            assertTrue(url.getPath().endsWith("/share#frag"), "Path must contain the fragment suffix");
            assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied when not explicitly set");
        }
    
        @Test
        @DisplayName("parseURL: explicit port is preserved")
        void testParseURL_ExplicitPortPreserved() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        // Collapse equal elements, which Ordering.explicit() doesn't support, while
        // maintaining the ordering by first occurrence.
        Set<String> elementsPlus = new LinkedHashSet<>();
        elementsPlus.add(BEFORE_FIRST);
        elementsPlus.add(BEFORE_FIRST_2);
        elementsPlus.addAll(asList(elements));
        elementsPlus.add(AFTER_LAST);
        elementsPlus.add(AFTER_LAST_2);
        return Ordering.explicit(new ArrayList<>(elementsPlus));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. SECURITY.md

    ## Reporting a Vulnerability
    
    If you think you found a vulnerability, and even if you are not sure about it, please report it right away by sending an email to: ******@****.***. Please try to be as explicit as possible, describing all the steps and example code to reproduce the security issue.
    
    I (the author, [@tiangolo](https://x.com/tiangolo)) will review it thoroughly and get back to you.
    
    ## Public Discussions
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

    import java.util.Map.Entry;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@code TreeMultimap} with explicit comparators.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        }
    
        @Test
        @DisplayName("Interface cannot be instantiated")
        @SuppressWarnings("deprecation") // Using Class#newInstance for explicit InstantiationException
        void cannotInstantiateInterface() {
            assertThrows(InstantiationException.class, () -> SpnegoConstants.class.newInstance(), "Interfaces cannot be instantiated");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top