Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 316 for bindIf (1.11 sec)

  1. docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py

    SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db"
    
    engine = create_engine(
        SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
    )
    TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
    
    
    Base.metadata.create_all(bind=engine)
    
    
    def override_get_db():
        try:
            db = TestingSessionLocal()
            yield db
        finally:
            db.close()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      fun start(
        inetAddress: InetAddress,
        port: Int,
      ) = start(InetSocketAddress(inetAddress, port))
    
      /**
       * Starts the server and binds to the given socket address.
       *
       * @param inetSocketAddress the socket address to bind the server on
       */
      @Synchronized
      @Throws(IOException::class)
      private fun start(inetSocketAddress: InetSocketAddress) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    	ServerAddr         = "server_addr"
    	SRVRecordName      = "srv_record_name"
    	LookupBindDN       = "lookup_bind_dn"
    	LookupBindPassword = "lookup_bind_password"
    	UserDNSearchBaseDN = "user_dn_search_base_dn"
    	UserDNSearchFilter = "user_dn_search_filter"
    	GroupSearchFilter  = "group_search_filter"
    	GroupSearchBaseDN  = "group_search_base_dn"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  4. build-logic-commons/build-platform/build.gradle.kts

            api("commons-lang:commons-lang:2.6")
            api("io.mockk:mockk:1.12.4")
            api("javax.activation:activation:1.1.1")
            api("javax.xml.bind:jaxb-api:2.3.1")
            api("com.sun.xml.bind:jaxb-core:2.2.11")
            api("com.sun.xml.bind:jaxb-impl:2.2.11")
            api("junit:junit:4.13.2")
            api("org.spockframework:spock-core:$spockVersion")
            api("org.spockframework:spock-junit4:$spockVersion")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/http/check_port_test.go

    	port := l.Addr().(*net.TCPAddr).Port
    
    	testCases := []struct {
    		host        string
    		port        int
    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    	for _, testCase := range testCases {
    		err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{})
    		switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. common/scripts/setup_env.sh

    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.config/gcloud,destination=/config/.config/gcloud,readonly "
    fi
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. docs_src/sql_databases/sql_app/tests/test_sql_app.py

    engine = create_engine(
        SQLALCHEMY_DATABASE_URL,
        connect_args={"check_same_thread": False},
        poolclass=StaticPool,
    )
    TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
    
    
    Base.metadata.create_all(bind=engine)
    
    
    def override_get_db():
        try:
            db = TestingSessionLocal()
            yield db
        finally:
            db.close()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 11:20:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    	for _, bindir := range in.cfg.CNIBinTargetDirs {
    		for _, binary := range installedBinFiles.UnsortedList() {
    			binPaths = append(binPaths, filepath.Join(bindir, binary))
    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		constants.ServiceAccountPath,
    	)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py

    SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db"
    
    engine = create_engine(
        SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
    )
    TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
    
    
    Base.metadata.create_all(bind=engine)
    
    
    def override_get_db():
        try:
            db = TestingSessionLocal()
            yield db
        finally:
            db.close()
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            return project.getConfigurations().detachedConfiguration(
                    dependencies.create("javax.xml.bind:jaxb-api:2.3.0"),
                    dependencies.create("com.sun.xml.bind:jaxb-core:2.3.0.1"),
                    dependencies.create("com.sun.xml.bind:jaxb-impl:2.3.0.1"),
                    dependencies.create("javax.activation:activation:1.1.1")
            );
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 13.3K bytes
    - Viewed (0)
Back to top