Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 859 for bindTo (0.28 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. src/runtime/testdata/testprogcgo/bindm.c

    Cherry Mui <******@****.***> 1684339275 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 692 bytes
    - Viewed (0)
  7. src/runtime/testdata/testprogcgo/bindm.go

    // license that can be found in the LICENSE file.
    
    //go:build !plan9 && !windows
    
    // Test that callbacks from C to Go in the same C-thread always get the same m.
    // Make sure the extra M bind to the C-thread.
    
    package main
    
    /*
    extern void CheckBindM();
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"sync"
    	"sync/atomic"
    )
    
    var (
    	mutex      = sync.Mutex{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. cluster/images/etcd/migrate/migrate.go

    		etcdctlVersioned := fmt.Sprintf("etcdctl-%s", opts.targetVersion)
    		if err := copyFile(filepath.Join(opts.binDir, etcdVersioned), filepath.Join(opts.binDir, "etcd")); err != nil {
    			klog.Fatalf("Failed to copy %s: %v", etcdVersioned, err)
    		}
    		if err := copyFile(filepath.Join(opts.binDir, etcdctlVersioned), filepath.Join(opts.binDir, "etcdctl")); err != nil {
    			klog.Fatalf("Failed to copy %s: %v", etcdctlVersioned, err)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 16 23:10:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top