Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 316 for someString (0.59 sec)

  1. docs/en/docs/async.md

    Asynchronous code just means that the language 💬 has a way to tell the computer / program 🤖 that at some point in the code, it 🤖 will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" 📝.
    
    So, during that time, the computer can go and do some other work, while "slow-file" 📝 finishes.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    					} else {
    						t.Errorf("unexpected call to handler")
    					}
    				}),
    				authenticator.RequestFunc(func(req *http.Request) (*authenticator.Response, bool, error) {
    					if req.Header.Get("Authorization") == "Something" {
    						return &authenticator.Response{User: &user.DefaultInfo{Name: "user"}, Audiences: authenticator.Audiences(tc.respAuds)}, true, nil
    					}
    					return nil, false, errors.New("Authorization header is missing.")
    				}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    !!! info "`@decorator` Info"
        That `@something` syntax in Python is called a "decorator".
    
        You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
        A "decorator" takes the function below and does something with it.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

                .configuration('something')
                .dependsOn(b, conf: 'something->unknown')
                .publish()
    
            buildFile << """
    configurations {
        compile
    }
    repositories {
        ivy { url "${ivyRepo.uri}" }
    }
    dependencies {
        compile group: 'test', name: 'target', version: '1.0', configuration: 'something'
    }
    task retrieve(type: Sync) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/DefaultTestReportTest.groovy

            def failingTestDetails = failingClassFile.testDetails('failed')
            failingTestDetails.assertDuration("1.000s")
            failingTestDetails.assertFailed()
    
            failingClassFile.assertHasFailure('failed', 'something failed\n\nthis is the failure\nat someClass\n')
    
            where:
            numThreads << [1, 4]
        }
    
        def "aggregate same tests run with different results - #numThreads parallel thread(s)"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/net/conf.go

    		return fallbackOrder, nil
    	}
    
    	// Try to figure out the order to use for searches.
    	// If we don't recognize something, use fallbackOrder.
    	// That will use cgo unless the Go resolver was explicitly requested.
    	// If we do figure out the order, return something other
    	// than fallbackOrder to use the Go resolver with that order.
    
    	dnsConf = getSystemDNSConfig()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                library {
                    dependencies {
                        something("com.google.guava:guava:30.1.1-jre")
                        somethingElse("org.apache.commons:commons-lang3:3.12.0")
                    }
                }
            """
            file("settings.gradle") << defineSettings()
    
            expect: "a dependency has been added to the something configuration"
            succeeds("dependencies", "--configuration", "myConf")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        }
    
        def "logs generic deprecation message for specific thing"() {
            when:
            DeprecationLogger.deprecate("Something").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Something has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}."
        }
    
        def "logs deprecated behavior message"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/behind-a-proxy.md

        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    In this example, the "Proxy" could be something like **Traefik**. And the server would be something like FastAPI CLI with **Uvicorn**, running your FastAPI application.
    
    ### Providing the `root_path`
    
    To achieve this, you can use the command line option `--root-path` like:
    
    <div class="termy">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top