Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 210 for gotype (0.16 sec)

  1. src/encoding/gob/type_test.go

    	if newtyp != tInt.gobType() {
    		t.Errorf("reregistration of %s got new type", newtyp.string())
    	}
    	newtyp = getTypeUnlocked("uint", reflect.TypeFor[uint]())
    	if newtyp != tUint.gobType() {
    		t.Errorf("reregistration of %s got new type", newtyp.string())
    	}
    	newtyp = getTypeUnlocked("string", reflect.TypeFor[string]())
    	if newtyp != tString.gobType() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/graph_test.go

    		desc        string
    		fromType    vertexType
    		toType      vertexType
    		toNamespace string
    		toName      string
    		start       *Graph
    		expect      *Graph
    	}{
    		{
    			// single edge from a configmap to a node, will delete edge and orphaned configmap
    			desc:        "edges and source orphans are deleted, destination orphans are preserved",
    			fromType:    configMapVertexType,
    			toType:      nodeVertexType,
    			toNamespace: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. src/net/file_unix.go

    	if err != nil {
    		return nil, err
    	}
    	family := syscall.AF_UNSPEC
    	sotype, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_TYPE)
    	if err != nil {
    		poll.CloseFunc(s)
    		return nil, os.NewSyscallError("getsockopt", err)
    	}
    	lsa, _ := syscall.Getsockname(s)
    	rsa, _ := syscall.Getpeername(s)
    	switch lsa.(type) {
    	case *syscall.SockaddrInet4:
    		family = syscall.AF_INET
    	case *syscall.SockaddrInet6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompileJavaBuildOperationReportingCompiler.java

                }
    
                private AnnotationProcessorDetails.Type toType(IncrementalAnnotationProcessorType type) {
                    if (type == IncrementalAnnotationProcessorType.AGGREGATING) {
                        return AnnotationProcessorDetails.Type.AGGREGATING;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. src/net/internal/socktest/switch_stub.go

    // license that can be found in the LICENSE file.
    
    //go:build plan9
    
    package socktest
    
    // Sockets maps a socket descriptor to the status of socket.
    type Sockets map[int]Status
    
    func familyString(family int) string { return "<nil>" }
    
    func typeString(sotype int) string { return "<nil>" }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 455 bytes
    - Viewed (0)
  7. src/net/net_fake.go

    	if !ok {
    		return wrapErr(syscall.ECONNREFUSED)
    	}
    	ln := lni.(*netFD)
    	if ln.sotype != fd.sotype {
    		return wrapErr(syscall.EPROTOTYPE)
    	}
    	if ln.incoming == nil {
    		return wrapErr(syscall.ECONNREFUSED)
    	}
    
    	peer := &netFD{
    		family:      ln.family,
    		sotype:      ln.sotype,
    		net:         ln.net,
    		laddr:       ln.laddr,
    		raddr:       fd.laddr,
    		isConnected: true,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/TypeMirrorToType.java

    import org.objectweb.asm.Type;
    
    import javax.lang.model.element.Element;
    import javax.lang.model.element.PackageElement;
    import javax.lang.model.type.ArrayType;
    import javax.lang.model.type.DeclaredType;
    import javax.lang.model.type.ErrorType;
    import javax.lang.model.type.ExecutableType;
    import javax.lang.model.type.IntersectionType;
    import javax.lang.model.type.NoType;
    import javax.lang.model.type.NullType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. src/net/sockopt_fake.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build js || wasip1
    
    package net
    
    import "syscall"
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	return nil
    }
    
    func setDefaultListenerSockopts(s int) error {
    	return nil
    }
    
    func setDefaultMulticastSockopts(s int) error {
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 955 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/ClosureToSpecNotationConverterTest.groovy

            expect:
            spec.isSatisfiedBy("foo")
            !spec.isSatisfiedBy("FOO")
            !spec.isSatisfiedBy("bar")
        }
    
        def parse(def value) {
            return NotationParserBuilder.toType(Spec).fromType(Closure, converter).toComposite().parseNotation(value)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 18 06:12:27 UTC 2014
    - 1.2K bytes
    - Viewed (0)
Back to top