Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1441 - 1450 of 2,915 for name4 (0.02 sec)

  1. tests/test_security_api_key_cookie_optional.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tests/test_security_api_key_query_optional.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/s390x.go

    		"CRJ",
    		"CGRJ",
    		"CLRJ",
    		"CLGRJ",
    		"CIJ",
    		"CGIJ",
    		"CLIJ",
    		"CLGIJ",
    		"CALL",
    		"JMP":
    		return true
    	}
    	return false
    }
    
    func s390xRegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "AR":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_AR0 + n, true
    		}
    	case "F":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_F0 + n, true
    		}
    	case "R":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 17 14:55:25 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  4. ci/official/envs/linux_arm64

    TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX=linux_arm64
    # Note: this is not set to "--cpu", because that changes the package name
    # to tensorflow_cpu. These ARM builds are supposed to have the name "tensorflow"
    # despite lacking Nvidia CUDA support.
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_DOCKER_ENABLE=1
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 14 23:45:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/AlphaNumWordFilterFactory.java

        private final int maxTokenLength;
    
        public AlphaNumWordFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name,
                final Settings settings) {
            super(indexSettings, name, settings);
    
            maxTokenLength = settings.getAsInt("max_token_length", AlphaNumWordFilter.DEFAULT_MAX_TOKEN_LENGTH);
        }
    
        @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import okhttp3.curl.logging.LoggingUtil
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.logging.LoggingEventListener
    
    class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") {
      val method: String? by option("-X", "--request", help = "Specify request command to use")
    
      val data: String? by option("-d", "--data", help = "HTTP POST data")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/status_test.go

    	"istio.io/istio/tests/util"
    )
    
    func TestXdsStatusWriter_PrintAll(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   map[string]*discovery.DiscoveryResponse
    		want    string
    		wantErr bool
    	}{
    		{
    			name: "prints multiple istiod inputs to buffer in alphabetical order by pod name",
    			input: map[string]*discovery.DiscoveryResponse{
    				"istiod1": xdsResponseInput("istiod1", []clientConfigInput{
    					{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

                new SetMultimapTestSuiteBuilder.MultimapGetGenerator<K, V>(
                    parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java

     * under the License.
     */
    package org.apache.maven.repository.internal.type;
    
    import javax.inject.Named;
    
    import java.util.Arrays;
    import java.util.Collection;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.Language;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.spi.TypeProvider;
    
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultTypeProvider implements TypeProvider {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top