Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 1,236 for texts (0.02 seconds)

  1. src/bufio/net_test.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package bufio_test
    
    import (
    	"bufio"
    	"io"
    	"net"
    	"path/filepath"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestCopyUnixpacket tests that we can use bufio when copying
    // across a unixpacket socket. This used to fail due to an unnecessary
    // empty Write call that was interpreted as an EOF.
    func TestCopyUnixpacket(t *testing.T) {
    	tmpDir := t.TempDir()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

            val systemProperties = mutableListOf<String>()
    
            systemProperties.add(getStudioHome())
    
            if (runAndroidStudioInHeadlessMode) {
                systemProperties.add("-Dstudio.tests.headless=true")
            }
            if (androidStudioJvmArgs.isNotEmpty()) {
                systemProperties.add("-DstudioJvmArgs=${androidStudioJvmArgs.joinToString(separator = ",")}")
            }
            return systemProperties
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
            // packageBuild task executes tests, so we must run after it
            mustRunAfter(":packageBuild")
        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 17 16:12:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Mas assim obtemos um `dict` como valor do parâmetro `commons` na *função de operação de rota*.
    
    E sabemos que editores de texto não têm como oferecer muitas funcionalidades (como sugestões automáticas) para objetos do tipo `dict`, por que não há como eles saberem o tipo das chaves e dos valores.
    
    Podemos fazer melhor...
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

                            extensions.findByType<DevelocityTestConfiguration>()?.apply {
                                // PTS doesn't work well with architecture tests which scan all classes
                                predictiveTestSelection.enabled = false
                            }
                        }
                    }
                }
            }
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 18:51:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. .github/workflows/arm-ci-extended-cpp.yml

              ref: 'nightly'
          - name: Checkout repository
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
          - name: Build binary and run C++ tests
            shell: bash
            run: |
              is_nightly=0 && tf_project_name='tf_ci_ext_c' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_ci_ext_c'
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_dataclasses/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. utils/tests/models.go

    package tests
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py

            "q": "query",
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top