Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 897 for match (0.02 seconds)

  1. tests/test_tutorial/test_python_types/test_tutorial008.py

    from unittest.mock import patch
    
    from docs_src.python_types.tutorial008_py39 import process_items
    
    
    def test_process_items():
        with patch("builtins.print") as mock_print:
            process_items({"a": 1.0, "b": 2.5})
    
        assert mock_print.call_count == 4
        call_args = [arg.args for arg in mock_print.call_args_list]
        assert call_args == [
            ("a",),
            (1.0,),
            ("b",),
            (2.5,),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 417 bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java

            while (entries.hasNext()) {
                TransferResourceAndSize entry = entries.next();
                // just in case, make sure 0 <= complete <= total
                long complete = Math.max(0, entry.transferredBytes);
                long total = Math.max(complete, entry.resource.getContentLength());
    
                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/testdata/armv6.s

    	MOVF	F2, 0x00ffffff(R2) // MOVF F2, 16777215(R2)
    	MOVD	F2, 0x00ffffff(R2) // MOVD F2, 16777215(R2)
    	MOVF	F0, math·Exp(SB)   // MOVF F0, math.Exp(SB)
    	MOVF	math·Exp(SB), F0   // MOVF math.Exp(SB), F0
    	MOVD	F0, math·Exp(SB)   // MOVD F0, math.Exp(SB)
    	MOVD	math·Exp(SB), F0   // MOVD math.Exp(SB), F0
    	MOVF	F4, F5                                    // 445ab0ee
    	MOVD	F6, F7                                    // 467bb0ee
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Oct 23 15:18:14 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  4. docs/en/docs/help-fastapi.md

    By adding a star, other users will be able to find it more easily and see that it has been already useful for others.
    
    ## Watch the GitHub repository for releases { #watch-the-github-repository-for-releases }
    
    You can "watch" FastAPI in GitHub (clicking the "watch" button at the top right): <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">https://github.com/fastapi/fastapi</a>. 👀
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jConfigurationFactory.java

                        if (impl != null) {
                            return (Slf4jConfiguration)
                                    Class.forName(impl).getDeclaredConstructor().newInstance();
                        }
                    } catch (IOException
                            | ClassNotFoundException
                            | NoSuchMethodException
                            | InvocationTargetException
                            | IllegalAccessException
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial007.py

    from contextlib import asynccontextmanager
    from unittest.mock import Mock, patch
    
    from docs_src.dependencies.tutorial007_py39 import get_db
    
    
    def test_get_db():  # Just for coverage
        async def test_async_gen():
            cm = asynccontextmanager(get_db)
            async with cm() as db_session:
                return db_session
    
        dbsession_moock = Mock()
    
        with patch(
            "docs_src.dependencies.tutorial007_py39.DBSession",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 642 bytes
    - Click Count (0)
  7. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

                return new Settings(delegate.read(reader, strict, null));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(reader));
            } catch (XMLStreamException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. docs/ja/docs/help-fastapi.md

    スターを増やすことで、他のユーザーの目につきやすくなり、多くの人にとって便利なものであることを示せます。
    
    ## GitHubレポジトリのリリースをWatch
    
    GitHubでFastAPIを「Watch」できます (右上部のWatchボタンをクリック): <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">https://github.com/fastapi/fastapi</a>. 👀
    
    そこで「Releases only」を選択できます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. tests/generics_test.go

    func TestGenericsCreateInBatches(t *testing.T) {
    	batch := []User{
    		{Name: "GenericsCreateInBatches1"},
    		{Name: "GenericsCreateInBatches2"},
    		{Name: "GenericsCreateInBatches3"},
    	}
    	ctx := context.Background()
    
    	if err := gorm.G[User](DB).CreateInBatches(ctx, &batch, 2); err != nil {
    		t.Fatalf("CreateInBatches failed: %v", err)
    	}
    
    	for _, u := range batch {
    		if u.ID == 0 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy

        def minimumSupported = "1.9.10"
    
        def "latest patch version"() {
            given:
            def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions
    
            when:
            def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions)
    
            then:
            selected == ["1.9.10", "1.9.25", "2.0.30"]
        }
    
        def "beta of latest patch version"() {
            given:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top