Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 232 for bindTo (0.1 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. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. pkg/scheduler/framework/plugins/defaultbinder/default_binder.go

    // Name returns the name of the plugin.
    func (b DefaultBinder) Name() string {
    	return Name
    }
    
    // Bind binds pods to nodes using the k8s client.
    func (b DefaultBinder) Bind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status {
    	logger := klog.FromContext(ctx)
    	logger.V(3).Info("Attempting to bind pod to node", "pod", klog.KObj(p), "node", klog.KRef("", nodeName))
    	binding := &v1.Binding{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            AnnotatedBindingBuilder<Object> binder = bind(itf);
                            if (key.getQualifier() instanceof String s) {
                                binder.annotatedWith(Names.named(s));
                            } else if (key.getQualifier() instanceof Annotation a) {
                                binder.annotatedWith(a);
                            }
                            binder.toProvider(() -> injector.getInstance(clazz));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top