Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 2,062 for Instance (0.15 seconds)

  1. tests/test_response_dependency.py

        assert resp.headers.get("X-First") == "1"
        assert resp.headers.get("X-Second") == "2"
    
    
    def test_response_dependency_returns_different_response_instance():
        """Dependency that returns a different Response instance should work.
    
        When a dependency returns a new Response object (e.g., JSONResponse) instead
        of modifying the injected one, the returned response should be used and any
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/resources/xml/pom.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <parent>
        <groupId>org.apache.maven</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion c1 = new ComparableVersion("1");
            c1.parseVersion("2");
    
            Comparable<?> c2 = newComparable("2");
    
            assertEquals(c1, c2, "reused instance should be equivalent to new instance");
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-7644">MNG-7644</a> edge cases
         * 1.0.0.RC1 &lt; 1.0.0-RC2 and more generally:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * {@snippet :
     * public <N> someGraphAlgorithm(N startNode, SuccessorsFunction<N> successorsFunction);
     * }
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
     *
     * {@snippet :
     * someGraphAlgorithm(startNode, graph);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

        /**
         * Sets the URL stream handler factory for the environment.  This
         * allows specification of the factory used in creating underlying
         * stream handlers.  This can be called once per JVM instance.
         *
         * @param factory The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
            synchronized (PROTOCOL_HANDLERS) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/bytes/iter.go

    // It returns a single-use iterator.
    func SplitSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, 0)
    }
    
    // SplitAfterSeq returns an iterator over subslices of s split after each instance of sep.
    // The iterator yields the same subslices that would be returned by [SplitAfter](s, sep),
    // but without constructing a new slice containing the subslices.
    // It returns a single-use iterator.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoDbm.java

        //                                                                           =========
        private static final CrawlingInfoDbm _instance = new CrawlingInfoDbm();
    
        private CrawlingInfoDbm() {
        }
    
        public static CrawlingInfoDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            // try-with-resources closes the acquired tree
            verify(tree, atLeastOnce()).close();
        }
    
        @Test
        @DisplayName("isSame returns true only for same underlying tree instance")
        void isSame_comparesUnderlyingTreeIdentity() {
            SmbTreeConnection c1 = newConn();
            SmbTreeConnection c2 = newConn();
            SmbTreeImpl shared = mock(SmbTreeImpl.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java

            this.qualifier = qualifier == null ? null : Qualifier.of(qualifier);
        }
    
        /**
         * Parses the supplied string into an object.
         * @param s a version string in strict semver
         * @return a new instance
         */
        public static QualifiedVersion of(final String s) {
            Objects.requireNonNull(s);
            Matcher matcher = pattern.matcher(s);
            if (matcher.matches() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5.9K bytes
    - Click Count (0)
Back to Top