Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 482 for bindTo (0.18 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/MethodHandleBasedServiceMethod.java

            super(target);
            this.method = LOOKUP.unreflect(target);
        }
    
        @Override
        public Object invoke(Object target, @Nullable Object... args) {
            try {
                return method.bindTo(target).invokeWithArguments(args);
            } catch (Throwable e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:08:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java

                    MethodHandles.Lookup lookup = getLookupForClassLoader(classLoader);
                    MethodHandle methodHandle = lookup.findVirtual(ClassLoader.class, methodName, methodType);
                    return (T) methodHandle.bindTo(classLoader).invokeWithArguments(arguments);
                } catch (Throwable e) {
                    throw new RuntimeException(e);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/context.go

    	if bindTo {
    		if IsPrivilegedPort(port) && node.IsUnprivileged() {
    			return false
    		}
    		if node.Metadata != nil &&
    			(node.Metadata.EnvoyPrometheusPort == int(port) || node.Metadata.EnvoyStatusPort == int(port)) {
    			// can not bind to port that already bound by proxy static listener
    			return false
    		}
    	}
    	return true
    }
    
    // IsPrivilegedPort returns true if a given port is in the range 1-1023.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/binder.go

    //     This is handled in the scheduler and not here.
    //     f. Asynchronously bind volumes and pod in a separate goroutine
    //     i.  BindPodVolumes() is called first in PreBind phase. It makes all the necessary API updates and waits for
    //     PV controller to fully bind and provision the PVCs. If binding fails, the Pod is sent
    //     back through the scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pkg/scheduler/profile/profile_test.go

    	frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime"
    )
    
    var fakeRegistry = frameworkruntime.Registry{
    	"QueueSort": newFakePlugin("QueueSort"),
    	"Bind1":     newFakePlugin("Bind1"),
    	"Bind2":     newFakePlugin("Bind2"),
    	"Another":   newFakePlugin("Another"),
    }
    
    func TestNewMap(t *testing.T) {
    	cases := []struct {
    		name    string
    		cfgs    []config.KubeSchedulerProfile
    		wantErr string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java

            this.plugin = plugin;
        }
    
        @Override
        public void configure(Binder binder) {
            if (plugin.getKey() != null) {
                XmlNode configuration = plugin.getConfiguration();
                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                binder.bind(XmlNode.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)
  7. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    				Score:       int64(point.Score) * (framework.MaxNodeScore / config.MaxCustomPriorityScore),
    			})
    		}
    		scorer = buildScorerFunction(shape)
    	}
    	return &VolumeBinding{
    		Binder:    binder,
    		PVCLister: pvcInformer.Lister(),
    		scorer:    scorer,
    		fts:       fts,
    	}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

    
    internal
    fun IO.buildPluginDependencySpecAccessorsFor(
        pluginDescriptorsClassPath: ClassPath,
        srcDir: File,
        binDir: File
    ) {
        makeAccessorOutputDirs(srcDir, binDir, kotlinDslPackagePath)
    
        val pluginTrees = pluginTreesFrom(pluginDescriptorsClassPath)
    
        val baseFileName = "$kotlinDslPackagePath/PluginDependencySpecAccessors"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultUcrtLocator.java

            return COMPONENT_NAME;
        }
    
        @Override
        String getDisplayName() {
            return DISPLAY_NAME;
        }
    
        @Override
        boolean isValidComponentBinDir(File binDir) {
            // Nothing special to check for UCRT
            return true;
        }
    
        @Override
        boolean isValidComponentIncludeDir(File includeDir) {
            return new File(includeDir, "io.h").exists();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

        }
    
        @Override
        public void configure(Binder binder) {
            if (extension.getKey() != null) {
                XmlNode configuration = extension.getConfiguration();
                if (configuration == null) {
                    configuration = new XmlNodeImpl("configuration");
                }
                configuration = new Interpolator().transform(configuration);
    
                binder.bind(XmlNode.class)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:53:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top