Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,428 for InterfaceA (0.6 sec)

  1. src/syscall/route_bsd.go

    			}
    			sas[i] = sa
    			b = b[rsaAlignOf(int(b[0])):]
    		}
    	}
    	return sas[:], nil
    }
    
    // ParseRoutingMessage parses b as routing messages and returns the
    // slice containing the [RoutingMessage] interfaces.
    //
    // Deprecated: Use golang.org/x/net/route instead.
    func ParseRoutingMessage(b []byte) (msgs []RoutingMessage, err error) {
    	nmsgs, nskips := 0, 0
    	for len(b) >= anyMessageLen {
    		nmsgs++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    		{apkg, `package a1; import "a"; var _ interface { M() } = a.S{}`,
    			"a.S does not implement interface{M()} (missing method M) have m() want M()"},
    
    		{apkg, `package a2; import "a"; var _ interface { m() } = a.S{}`,
    			"a.S does not implement interface{m()} (unexported method m)"}, // test for issue
    
    		{nil, `package a3; type S struct{}; func (S) m(); var _ interface { M() } = S{}`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. src/internal/reflectlite/value.go

    	if v.flag == 0 {
    		panic(&ValueError{"reflectlite.Value.Interface", 0})
    	}
    
    	if v.kind() == abi.Interface {
    		// Special case: return the element inside the interface.
    		// Empty interface has one layout, all interfaces with
    		// methods have a second layout.
    		if v.numMethod() == 0 {
    			return *(*any)(v.ptr)
    		}
    		return *(*interface {
    			M()
    		})(v.ptr)
    	}
    
    	return packEface(v)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/app/cmd.go

    	// Find IP addr of excluded interfaces and add to a map for instant lookup
    	for _, ifaceName := range exclusions {
    		iface, err := net.InterfaceByName(ifaceName)
    		if err != nil {
    			log.Warnf("Unable to get interface %s: %v", ifaceName, err)
    			continue
    		}
    		addrs, err := iface.Addrs()
    		if err != nil {
    			log.Warnf("Unable to get IP addr(s) of interface %s: %v", ifaceName, err)
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 10:52:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerInServiceRegistryTest.groovy

            0 * _
        }
    
        @EventScope(Scope.BuildTree)
        interface NotStatefulListener {
            void something(String param)
        }
    
        @ListenerService
        abstract class TestListenerService implements NotStatefulListener {
        }
    
        @EventScope(Scope.BuildTree)
        @StatefulListener
        interface TestListener {
            void something(String param)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/istio-agent/plugins.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	citadel "istio.io/istio/security/pkg/nodeagent/caclient/providers/citadel"
    )
    
    // WARNING WARNING WARNING
    // These interfaces must be stable to allow vendors plug custom CAs.
    
    type RootCertProvider interface {
    	GetKeyCertsForCA() (string, string)
    	FindRootCAForCA() (string, error)
    }
    
    var providers = make(map[string]func(*security.Options, RootCertProvider) (security.Client, error))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 03:32:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/sizes.go

    				max = a
    			}
    		}
    		return max
    	case *Slice, *Interface:
    		// Multiword data structures are effectively structs
    		// in which each element has size WordSize.
    		// Type parameters lead to variable sizes/alignments;
    		// StdSizes.Alignof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize
    	case *Basic:
    		// Strings are like slices and interfaces.
    		if t.Info()&IsString != 0 {
    			return s.WordSize
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/mockdirentry.go

    limitations under the License.
    */
    
    // Code generated by MockGen.
    // Source: os (interfaces: DirEntry)
    
    package testing
    
    import (
    	fs "io/fs"
    	reflect "reflect"
    
    	gomock "go.uber.org/mock/gomock"
    )
    
    // MockDirEntry is a mock of DirEntry interface.
    type MockDirEntry struct {
    	ctrl     *gomock.Controller
    	recorder *MockDirEntryMockRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. doc/go_spec.html

    By construction, an interface's type set never contains an interface type.
    </p>
    
    <pre>
    // An interface representing only the type int.
    interface {
    	int
    }
    
    // An interface representing all types with underlying type int.
    interface {
    	~int
    }
    
    // An interface representing all types with underlying type int that implement the String method.
    interface {
    	~int
    	String() string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top