Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 1,718 for live (0.02 seconds)

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

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("expected one element but was: <one, two, three, four, five>");
      }
    
      public void testGetOnlyElement_noDefault_moreThanFiveElements() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            testData.clear();
            testData.add(createRelatedContent("test", "Updated Content", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  3. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            return metadata;
        }
    
        private static SnapshotVersion addSnapshotVersion(Versioning versioning, Date timestamp, Artifact artifact) {
            int buildNumber = 1;
            // this generates timestamped versions like maven-resolver-provider:
            // https://github.com/apache/maven/blob/03df5f7c639db744a3597c7175c92c8e2a27767b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java#L79
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  4. fastapi/security/http.py

        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
        Authorization: Bearer deadbeef12346
        ```
    
        In this case:
    
        * `scheme` will have the value `"Bearer"`
        * `credentials` will have the value `"deadbeef12346"`
        """
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. tests/prepared_stmt_test.go

    	if lens == 0 {
    		// If the number is 0, it means there are no statements stored in the LRU cache.
    		// The test fails and an error message is output.
    		t.Fatalf("lru should not be empty")
    	}
    	// Wait for 40 seconds to give the statements in the cache enough time to expire.
    	time.Sleep(time.Second * 40)
    	// Assert whether the connection pool of tx is successfully converted to the *gorm.PreparedStmtDB type.
    	AssertEqual(t, ok, true)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/UrlEscapers.java

       * The caller is responsible for <a
       * href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">replacing
       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
       * <p>When escaping a String, the following rules apply:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

     * security protections against deserialization attacks. By default, it uses an
     * ObjectInputFilter to restrict which classes can be deserialized.
     * </p>
     * <p>
     * The default filter allows common safe classes like primitives, arrays, String,
     * Number types, collections, and classes in the org.codelibs package. For custom
     * requirements, use the overloaded methods that accept a custom filter.
     * </p>
     *
     * @author higa
     */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/util/Hexdump.java

         */
        public static final char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
    
        /**
         * Generate "hexdump" output of the buffer at src like the following:
         *
         * <pre>
         * 00000: 04 d2 29 00 00 01 00 00 00 00 00 01 20 45 47 46  |..)......... EGF|
         * 00010: 43 45 46 45 45 43 41 43 41 43 41 43 41 43 41 43  |CEFEECACACACACAC|
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. README.md

    License
    -------
    This code is under the [Apache License, Version 2.0, January 2004][license].
    
    See the [`NOTICE`](./NOTICE) file for required notices and attributions.
    
    Donations
    ---------
    Do you like Apache Maven? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support the development.
    
    Quick Build
    -------
    If you want to bootstrap Maven, you'll need:
    - Java 17+
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 25 08:06:02 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (projectRealm != null) {
                Thread.currentThread().setContextClassLoader(projectRealm);
            }
        }
    
        // TODO I'm really wondering where this method belongs; smells like it should be on MavenProject, but for some
        // reason it isn't ? This localization is kind-of a code smell.
    
        public static String getKey(MavenProject project) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
Back to Top