Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for Bind (0.2 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                    Binding<Object> bind = ReflectionUtils.bindingFromMethod(method).scope(scope);
                    for (Type t : Types.getAllSuperTypes(returnType)) {
                        if (types == null || types.contains(Types.getRawType(t))) {
                            bind(Key.ofType(t, qualifier), bind);
                            if (qualifier != null) {
                                bind(Key.ofType(t), bind);
                            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/flag/flag.go

    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    //	flag.Bind(fs, "foo", "f", "the foo value", &cfg.Foo)
    func Bind[T Flaggable](fs *pflag.FlagSet, name, shorthand, usage string, val *T) {
    	switch d := any(val).(type) {
    	case *string:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
                    .in(scope);
            bind(InternalMavenSession.class)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/guava-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/guava/BindingsBuilderExtensions.kt

     * 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.internal.serialize.codecs.guava
    
    import org.gradle.internal.serialize.graph.codecs.BindingsBuilder
    
    
    fun BindingsBuilder.guavaTypes() {
        bind(ImmutableListCodec)
        bind(ImmutableSetCodec)
        bind(ImmutableMapCodec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 859 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/templates/structuring-software-projects/server-application/app/src/main/java/com/example/myproduct/server/MyProductAdminController.java

    import com.example.myproduct.admin.config.VersionRange;
    
    import org.springframework.stereotype.Controller;
    import org.springframework.ui.Model;
    import org.springframework.web.bind.annotation.GetMapping;
    import org.springframework.web.bind.annotation.ModelAttribute;
    import org.springframework.web.bind.annotation.PostMapping;
    
    @Controller
    public class MyProductAdminController {
    
        @GetMapping("/admin")
        public String adminForm(Model model) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 903 bytes
    - Viewed (0)
  6. cni/pkg/repair/netns.go

    // under the procfs, /proc/<pid>/ns/net. In majority of cases, this is not used directly, but is rather bind mounted to
    // /var/run/netns/<name>. However, this pattern is not ubiquitous. Some platforms bind mount to other places. As we run
    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ResourcePattern.java

        /**
         * Checks if the given identifier contains sufficient information to bind the tokens in this pattern.
         */
        boolean isComplete(ModuleIdentifier moduleIdentifier);
    
        /**
         * Checks if the given identifier contains sufficient information to bind the tokens in this pattern.
         */
        boolean isComplete(ModuleComponentIdentifier componentIdentifier);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/extender.go

    	Prioritize(pod *v1.Pod, nodes []*NodeInfo) (hostPriorities *extenderv1.HostPriorityList, weight int64, err error)
    
    	// Bind delegates the action of binding a pod to a node to the extender.
    	Bind(binding *v1.Binding) error
    
    	// IsBinder returns whether this extender is configured for the Bind method.
    	IsBinder() bool
    
    	// IsInterested returns true if at least one extended resource requested by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 3.3K 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. src/net/sock_posix.go

    	var lsa syscall.Sockaddr
    	var err error
    	if laddr != nil {
    		if lsa, err = laddr.sockaddr(fd.family); err != nil {
    			return err
    		} else if lsa != nil {
    			if err = syscall.Bind(fd.pfd.Sysfd, lsa); err != nil {
    				return os.NewSyscallError("bind", err)
    			}
    		}
    	}
    	var rsa syscall.Sockaddr  // remote address from the user
    	var crsa syscall.Sockaddr // remote address we actually connected to
    	if raddr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top