Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 727 for examples (0.18 sec)

  1. .github/ISSUE_TEMPLATE/bug_report.md

    ---
    
    Good bug reports include a failing test! Writing a test helps you to isolate and describe the problem, and it helps us to fix it fast. Bug reports without a failing test or reproduction steps are likely to be closed.
    
    Here’s an example test to get you started.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Dec 30 22:44:40 UTC 2018
    - 412 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

     * </ul>
     *
     * <p>These features are all optional; caches can be created using all or none of them. By default,
     * cache instances created by {@code CacheBuilder} will not perform any type of eviction.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Set patterns
            conditionalRule.setUrlPattern("https?://.*\\.example\\.com/.*");
            conditionalRule.setMimeTypePattern("text/.*");
    
            // Test matching
            ResponseData responseData1 = new ResponseData();
            responseData1.setUrl("http://www.example.com/page");
            responseData1.setMimeType("text/html");
            assertTrue(conditionalRule.match(responseData1));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsAndCallSuper() {
            // Given
            int access = 0x01; // Example access value
    
            // When
            MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle);
    
            // Then
            // Verify that ptype is set to 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt

      @Test
      fun requiresRequestBody() {
        assertTrue(requiresRequestBody("PUT"))
        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
      fun hasBody() {
        val request = Request.Builder().url("http://example.com").build()
        val response =
          Response
            .Builder()
            .code(200)
            .message("OK")
            .request(request)
            .protocol(Protocol.HTTP_2)
            .build()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/sequenceMap.dfprop

    # 
    # The relation mappings between sequence and table.
    # If you don't specify the mappings, you cannot insert a record of the table by sequence. 
    # The table names are treated as case insensitive.
    # 
    # Example:
    # map:{
    #     ; PURCHASE     = SEQ_PURCHASE
    #     ; MEMBER       = SEQ_MEMBER
    #     ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
    #     ; PRODUCT      = SEQ_PRODUCT
    # }
    #
    # *The line that starts with '#' means comment-out.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 717 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

    /**
     * Exception thrown when there is an issue with the suggestion index.
     * This exception extends {@link SuggesterException}.
     *
     * <p>This exception can be thrown with a message, a cause, or both.</p>
     *
     * <pre>
     * Example usage:
     * throw new SuggestIndexException("Indexing error occurred");
     * throw new SuggestIndexException(new IOException("IO error"));
     * throw new SuggestIndexException("Indexing error", new IOException("IO error"));
     * </pre>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a stream in which each element is the result of passing the corresponding element of
       * each of {@code streamA} and {@code streamB} to {@code function}.
       *
       * <p>For example:
       *
       * {@snippet :
       * Streams.zip(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> arg1 + ":" + arg2)
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Ensures remote host name is sourced from transport and resources are closed
            when(transport.getRemoteHostName()).thenReturn("remote.example");
            String name = handle.getRemoteHostName();
            assertEquals("remote.example", name);
            // try-with-resources should close both
            verify(session).close();
            verify(transport).close();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        SortedMultiset<E> emptyMultiset = (SortedMultiset<E>) delegate.create();
        Comparator<? super E> comparator = emptyMultiset.comparator();
        SampleElements<E> samples = delegate.samples();
        List<E> samplesList =
            asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
    
        sort(samplesList, comparator);
        E firstInclusive = samplesList.get(0);
        E lastInclusive = samplesList.get(samplesList.size() - 1);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top