Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for isAttr (0.24 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    		for _, arg := range call.Args[skipArgs:] {
    			t := pass.TypesInfo.Types[arg].Type
    			switch pos {
    			case key:
    				// Expect a string or Attr.
    				switch {
    				case t == stringType:
    					pos = value
    				case isAttr(t):
    					pos = key
    				case types.IsInterface(t):
    					// As we do not do dataflow, we do not know what the dynamic type is.
    					// But we might be able to learn enough to make a decision.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. pkg/config/gateway/gateway.go

    func IsTLSServer(server *v1alpha3.Server) bool {
    	// to filter out https redirect
    	if server.Tls != nil && !protocol.Parse(server.Port.Protocol).IsHTTP() {
    		return true
    	}
    	return false
    }
    
    // IsHTTPSServerWithTLSTermination returns true if the server is HTTPS with TLS termination
    func IsHTTPSServerWithTLSTermination(server *v1alpha3.Server) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:13:01 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        }
                    }
                } else {
                    final Node idAttr = node.getAttributes().getNamedItem("id");
                    if (idAttr != null) {
                        final String value = idAttr.getNodeValue();
                        return id.equals(value);
                    }
                }
            }
            return false;
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/net/addrselect.go

    				srcs[i], _ = netip.AddrFromSlice(src.IP)
    			}
    			c.Close()
    		}
    	}
    	return srcs
    }
    
    type ipAttr struct {
    	Scope      scope
    	Precedence uint8
    	Label      uint8
    }
    
    func ipAttrOf(ip netip.Addr) ipAttr {
    	if !ip.IsValid() {
    		return ipAttr{}
    	}
    	match := rfc6724policyTable.Classify(ip)
    	return ipAttr{
    		Scope:      classifyScope(ip),
    		Precedence: match.Precedence,
    		Label:      match.Label,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. docs/debugging/inspect/go.sum

    github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
    github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
    github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
    github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
    github.com/minio/colorjson v1.0.7 h1:n69M42mIuQHdzbsxlmwji1zxDypaw4o39rHjAmX4Dh4=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/runtime/race/race_darwin_amd64.go

    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    //go:cgo_import_dynamic lstat$INODE64 lstat$INODE64 ""
    //go:cgo_import_dynamic mach_absolute_time mach_absolute_time ""
    //go:cgo_import_dynamic mach_task_self_ mach_task_self_ ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/race/race_darwin_arm64.go

    //go:cgo_import_dynamic gettimeofday gettimeofday ""
    //go:cgo_import_dynamic getuid getuid ""
    //go:cgo_import_dynamic grantpt grantpt ""
    //go:cgo_import_dynamic ioctl ioctl ""
    //go:cgo_import_dynamic isatty isatty ""
    //go:cgo_import_dynamic lstat lstat ""
    //go:cgo_import_dynamic mach_absolute_time mach_absolute_time ""
    //go:cgo_import_dynamic mach_task_self_ mach_task_self_ ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:29:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go

    // type of recv, which may be of the form N or *N, or aliases thereof.
    // It also reports whether a Pointer was present.
    func ReceiverNamed(recv *types.Var) (isPtr bool, named *types.Named) {
    	t := recv.Type()
    	if ptr, ok := aliases.Unalias(t).(*types.Pointer); ok {
    		isPtr = true
    		t = ptr.Elem()
    	}
    	named, _ = aliases.Unalias(t).(*types.Named)
    	return
    }
    
    // Unpointer returns T given *T or an alias thereof.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. pkg/config/protocol/instance_test.go

    package protocol_test
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/config/protocol"
    )
    
    func TestIsHTTP(t *testing.T) {
    	if protocol.UDP.IsHTTP() {
    		t.Errorf("UDP is not HTTP protocol")
    	}
    	if !protocol.GRPC.IsHTTP() {
    		t.Errorf("gRPC is HTTP protocol")
    	}
    }
    
    func TestParse(t *testing.T) {
    	testPairs := []struct {
    		name string
    		out  protocol.Instance
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. callbacks/associations.go

    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    					if !isPtr {
    						fieldType = reflect.PtrTo(fieldType)
    					}
    
    					elems := reflect.MakeSlice(reflect.SliceOf(fieldType), 0, 10)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top