Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 4,367 for same (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/.agents/skills/fastapi/references/other-tools.md

    app = FastAPI()
    
    
    async def do_async_work(name: str) -> str:
        return f"Hello {name}"
    
    
    @app.get("/items/")
    def read_items():
        result = syncify(do_async_work)(name="World")
        return {"message": result}
    ```
    
    ## SQLModel for SQL databases
    
    When working with SQL databases, prefer using SQLModel as it is integrated with Pydantic and will allow declaring data validation with the same models.
    
    Prefer it over SQLAlchemy.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Act & Assert
            assertNotSame(response1, response2);
            // Both instances have the same initial state, so toString() will be the same
            // This is expected behavior since they're created with the same configuration
            assertEquals(response1.toString(), response2.toString());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
     *   <li>Type-safe dependency injection</li>
     * </ul>
     *
     * @since 4.0.0
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jan 10 05:49:06 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    
        /**
         * Same source (user or project extensions.xml) must not contain same GA with different V.
         */
        @Test
        void conflictingExtensionsFromSameSource(
                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. guava-gwt/src/com/google/common/net/Net.gwt.xml

    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    <inherits name="com.google.common.collect.Collect" />
    <inherits name="com.google.common.escape.Escape" />
    <inherits name="com.google.common.primitives.Primitives" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.User" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 21 16:12:41 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertNotNull(buf, "getBuffer should never return null");
            assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size");
        }
    
        // Happy path: get -> release -> get returns same instance, zeroed on release
        @Test
        @DisplayName("Release stores buffer for reuse and zeroes its contents")
        void releaseStoresAndZeroesBuffer() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 10);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DfsReferralTest.java

            // Create a DfsReferral instance with the mock data
            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
        /**
         * Test the toString method.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.User" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  9. guava-gwt/src/com/google/common/base/Base.gwt.xml

        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.User" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // reentrant calls will see that their current thread is the same as the one set in
          // latestTaskQueue, and queue rather than calling execute() directly.
          ThreadConfinedTaskQueue executingTaskQueue = new ThreadConfinedTaskQueue();
          executingTaskQueue.thread = currentThread;
          /*
           * requireNonNull is safe because we don't null out `sequencer` except:
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
Back to Top