Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for iface (0.04 sec)

  1. cmd/kubeadm/app/cmd/version_test.go

    				goto error
    			}
    			if buf.String() == "" {
    				err = errors.New("empty output")
    				goto error
    			}
    			if tc.shouldBeValidYAML {
    				err = yaml.Unmarshal(buf.Bytes(), &iface)
    			} else if tc.shouldBeValidJSON {
    				err = json.Unmarshal(buf.Bytes(), &iface)
    			}
    		error:
    			if (err != nil) != tc.expectedError {
    				t.Errorf("Test case %q: RunVersion expected error: %v, saw: %v; %v", tc.name, tc.expectedError, err != nil, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

                if (superclass != null) {
                    queue.add(superclass);
                }
                for (Class<?> iface : type.getInterfaces()) {
                    if (seenInterfaces.add(iface)) {
                        queue.add(Cast.<Class<? super T>>uncheckedCast(iface));
                    }
                }
            }
        }
    
        @FunctionalInterface
        public interface TypeVisitor<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/netlink_linux.go

    func (h *netlinkHandle) GetAllLocalAddressesExcept(dev string) (sets.Set[string], error) {
    	ifaces, err := net.Interfaces()
    	if err != nil {
    		return nil, err
    	}
    	var addr []net.Addr
    	for _, iface := range ifaces {
    		if iface.Name == dev {
    			continue
    		}
    		ifadr, err := iface.Addrs()
    		if err != nil {
    			// This may happen if the interface was deleted. Ignore
    			// but log the error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. test/interface/fake.go

    throw: interface compare
    
    panic PC=0x28ceb8 [1]
    throw+0x41 /Users/rsc/goX/src/runtime/runtime.c:54
    	throw(0x3014a, 0x0)
    ifaceeq+0x15c /Users/rsc/goX/src/runtime/iface.c:501
    	ifaceeq(0x2aa7c0, 0x0, 0x0, 0x0, 0x2aa7c0, ...)
    sys·ifaceeq+0x48 /Users/rsc/goX/src/runtime/iface.c:527
    	sys·ifaceeq(0x2aa7c0, 0x0, 0x0, 0x0, 0x2aa7c0, ...)
    main·main+0x190 /Users/rsc/goX/src/cmd/gc/x.go:10
    	main·main()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    	constraint := tparam.Constraint()
    	if constraint == nil {
    		return nil, fmt.Errorf("%s has nil constraint", tparam)
    	}
    	iface, _ := constraint.Underlying().(*types.Interface)
    	if iface == nil {
    		return nil, fmt.Errorf("constraint is %T, not *types.Interface", constraint.Underlying())
    	}
    	return InterfaceTermSet(iface)
    }
    
    // InterfaceTermSet computes the normalized terms for a constraint interface,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginClasspathIntegrationTest.groovy

            file("api/src/main/java/org/gradle/FooException.java") << """
    package org.gradle;
    
    class FooException extends Exception { }
            """
    
            file("client/src/main/java/org/gradle/Iface.java") << """
    package org.gradle;
    
    interface Iface {
        /**
         * Method Description.
         *
         * @throws FooException whenever
         * @throws IllegalArgumentException otherwise
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/interface.go

    }
    
    func (check *Checker) interfaceType(ityp *Interface, iface *syntax.InterfaceType, def *TypeName) {
    	addEmbedded := func(pos syntax.Pos, typ Type) {
    		ityp.embeddeds = append(ityp.embeddeds, typ)
    		if ityp.embedPos == nil {
    			ityp.embedPos = new([]syntax.Pos)
    		}
    		*ityp.embedPos = append(*ityp.embedPos, pos)
    	}
    
    	for _, f := range iface.MethodList {
    		if f.Name == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/go/types/interface.go

    }
    
    func (check *Checker) interfaceType(ityp *Interface, iface *ast.InterfaceType, def *TypeName) {
    	addEmbedded := func(pos token.Pos, typ Type) {
    		ityp.embeddeds = append(ityp.embeddeds, typ)
    		if ityp.embedPos == nil {
    			ityp.embedPos = new([]token.Pos)
    		}
    		*ityp.embedPos = append(*ityp.embedPos, pos)
    	}
    
    	for _, f := range iface.Methods.List {
    		if len(f.Names) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. src/runtime/race/testdata/regression_test.go

    func inlinetest(p **inltype) *inltype {
    	return *p
    }
    
    type iface interface {
    	Foo() *struct{ b bool }
    }
    
    type Int int
    
    func (i Int) Foo() *struct{ b bool } {
    	return &struct{ b bool }{false}
    }
    
    func TestNoRaceForInfiniteLoop(t *testing.T) {
    	var x Int
    	// interface conversion causes nodes to be put on init list
    	for iface(x).Foo().b {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_linux.go

    		InterfaceStats: criInterfaceToSummary(criNetwork.DefaultInterface),
    		Interfaces:     make([]statsapi.InterfaceStats, 0, len(criNetwork.Interfaces)),
    	}
    	for _, iface := range criNetwork.Interfaces {
    		iStats.Interfaces = append(iStats.Interfaces, criInterfaceToSummary(iface))
    	}
    	ps.Network = &iStats
    }
    
    func addCRIPodMemoryStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top