Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for Bind (0.07 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java

                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                binder.bind(XmlNode.class)
                        .annotatedWith(Names.named(plugin.getKey()))
                        .toInstance(configuration);
                binder.bind(PlexusConfiguration.class)
                        .annotatedWith(Names.named(plugin.getKey()))
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 07:14:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/BaseTypes.kt

    import org.gradle.internal.serialize.graph.codecs.BindingsBuilder
    
    
    internal
    fun BindingsBuilder.baseTypes() {
        stdlibTypes()
        guavaTypes()
        bind(JavaRecordCodec)
        bind(BuildIdentifierSerializer())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerSpec.groovy

     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. 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()
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jun 22 11:20:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. pkg/flag/flag_test.go

    		A, B, C string
    		Env     string
    		Bool    bool
    	}
    	opts := Options{
    		B: "b-def",
    	}
    	test.SetEnvForTest(t, "TEST_ENV", "from-env")
    	fs := pflag.NewFlagSet("test", pflag.ContinueOnError)
    	Bind(fs, "a", "", "desc", &opts.A)
    	Bind(fs, "bool", "", "desc", &opts.Bool)
    	BindEnv(fs, "test-env", "", "desc", &opts.Env)
    	fs.Set("a", "a-set")
    	fs.Set("bool", "true")
    	assert.Equal(t, opts, Options{
    		A:    "a-set",
    		B:    "b-def",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. pkg/volume/fc/disk_manager.go

    		return err
    	}
    	// Perform a bind mount to the full path to allow duplicate mounts of the same disk.
    	options := []string{"bind"}
    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	mountOptions := util.JoinMountOptions(options, b.mountOptions)
    	err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/framework/framework_helpers.go

    	return RegisterPluginAsExtensions(pluginName, pluginNewFunc, "PreScore")
    }
    
    // RegisterBindPlugin returns a function to register a Bind Plugin to a given registry.
    func RegisterBindPlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc {
    	return RegisterPluginAsExtensions(pluginName, pluginNewFunc, "Bind")
    }
    
    // RegisterPluginAsExtensions returns a function to register a Plugin as given extensionPoints to a given registry.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/disk_manager.go

    	}
    	if !notMnt {
    		return nil
    	}
    
    	if err := os.MkdirAll(volPath, 0750); err != nil {
    		klog.Errorf("failed to mkdir:%s", volPath)
    		return err
    	}
    	// Perform a bind mount to the full path to allow duplicate mounts of the same disk.
    	options := []string{"bind"}
    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	if b.iscsiDisk.InitiatorName != "" {
    		// new iface name is <target portal>:<volume name>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top