Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 354 for Gotype (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy

            and:
            def parser = NotationParserBuilder.toType(String.class).fromCharSequence(converter).toComposite()
    
            expect:
            parser.parseNotation(new StringBuilder("12")) == "[12]"
        }
    
        def "can add a converter that converts CharSequence notations when the target type is String"() {
            def parser = NotationParserBuilder.toType(String.class).fromCharSequence().toComposite()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/convert.go

    	if n.Type().SoleComponent() == nil {
    		return n
    	}
    	// Keep in sync with cmd/compile/internal/types/type.go:Type.SoleComponent.
    	for {
    		switch {
    		case n.Type().IsStruct():
    			if n.Type().Field(0).Sym.IsBlank() {
    				// Treat blank fields as the zero value as the Go language requires.
    				n = typecheck.TempAt(base.Pos, ir.CurFunc, n.Type().Field(0).Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. src/net/sockopt_linux.go

    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  8. src/net/sockopt_bsd.go

    		}
    	}
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW && supportsIPv4map() {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    		// Allow broadcast.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.2K 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. src/net/sockopt_aix.go

    )
    
    func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top