Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for typexpr (0.16 sec)

  1. cmd/untar.go

    		case header == nil:
    			continue
    		}
    
    		name := header.Name
    		switch path.Clean(name) {
    		case ".", slashSeparator:
    			continue
    		}
    
    		switch header.Typeflag {
    		case tar.TypeDir: // = directory
    			if o.ignoreDirs {
    				continue
    			}
    			name = trimLeadingSlash(pathJoin(name, slashSeparator))
    		case tar.TypeReg, tar.TypeChar, tar.TypeBlock, tar.TypeFifo, tar.TypeGNUSparse: // = regular
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. pilot/pkg/model/network.go

    	// No records or OPT is the only record, return a short ttl as a fail safe.
    	if len(m.Answer)+len(m.Ns) == 0 &&
    		(len(m.Extra) == 0 || (len(m.Extra) == 1 && m.Extra[0].Header().Rrtype == dns.TypeOPT)) {
    		return MinGatewayTTL
    	}
    
    	minTTL := MaxGatewayTTL
    	for _, r := range m.Answer {
    		if r.Header().Ttl < uint32(minTTL.Seconds()) {
    			minTTL = time.Duration(r.Header().Ttl) * time.Second
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    		return x
    	}
    
    	// Syntactically, composite literals are operands. Because a complit
    	// type may be a qualified identifier which is handled by pexpr
    	// (together with selector expressions), complits are parsed there
    	// as well (operand is only called from pexpr).
    }
    
    // pexpr parses a PrimaryExpr.
    //
    //	PrimaryExpr =
    //		Operand |
    //		Conversion |
    //		PrimaryExpr Selector |
    //		PrimaryExpr Index |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. doc/next/9-todo.md

    CL 514775 - implements a performance optimization for accepted proposal https://go.dev/issue/59488
    CL 484995 - x/sys CL implements accepted proposal https://go.dev/issue/59537 to add x/sys/unix API
    CL 555597 - optimizes TypeFor (added in accepted proposal https://go.dev/issue/60088) for non-interface types; doesn't seem to need a release note
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. pkg/dns/client/dns.go

    func roundRobinResponse(res *dns.Msg) {
    	if res.Rcode != dns.RcodeSuccess {
    		return
    	}
    
    	if res.Question[0].Qtype == dns.TypeAXFR || res.Question[0].Qtype == dns.TypeIXFR {
    		return
    	}
    
    	res.Answer = roundRobin(res.Answer)
    	res.Ns = roundRobin(res.Ns)
    	res.Extra = roundRobin(res.Extra)
    }
    
    func roundRobin(in []dns.RR) []dns.RR {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/text/template/exec.go

    		}
    	}
    	s.errorf("can't evaluate field %s in type %s", fieldName, typ)
    	panic("not reached")
    }
    
    var (
    	errorType        = reflect.TypeFor[error]()
    	fmtStringerType  = reflect.TypeFor[fmt.Stringer]()
    	reflectValueType = reflect.TypeFor[reflect.Value]()
    )
    
    // evalCall executes a function or method call. If it's a method, fun already has the receiver bound, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. api/go1.22.txt

    pkg net/netip, method (AddrPort) Compare(AddrPort) int #61642
    pkg os, method (*File) WriteTo(io.Writer) (int64, error) #58808
    pkg reflect, func PtrTo //deprecated #59599
    pkg reflect, func TypeFor[$0 interface{}]() Type #60088
    pkg slices, func Concat[$0 interface{ ~[]$1 }, $1 interface{}](...$0) $0 #56353
    pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/database/sql/driver/types.go

    // are an error.
    var DefaultParameterConverter defaultConverter
    
    type defaultConverter struct{}
    
    var _ ValueConverter = defaultConverter{}
    
    var valuerReflectType = reflect.TypeFor[Valuer]()
    
    // callValuerValue returns vr.Value(), with one exception:
    // If vr.Value is an auto-generated method on a pointer type and the
    // pointer is nil, it would panic at runtime in the panicwrap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    """Defines a wrapper class for overridden python method definitions."""
    
    from collections.abc import Callable, Collection, Mapping, Sequence
    import functools
    import traceback
    from typing import Optional, TypeVar
    
    from absl import logging
    
    from tensorflow.compiler.mlir.quantization.stablehlo import quantization_config_pb2 as stablehlo_quant_config_pb2
    from tensorflow.compiler.mlir.quantization.tensorflow import exported_model_pb2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. src/encoding/xml/marshal.go

    		if prefix == "" {
    			break
    		}
    		p.deleteAttrPrefix(prefix)
    	}
    }
    
    var (
    	marshalerType     = reflect.TypeFor[Marshaler]()
    	marshalerAttrType = reflect.TypeFor[MarshalerAttr]()
    	textMarshalerType = reflect.TypeFor[encoding.TextMarshaler]()
    )
    
    // marshalValue writes one or more XML elements representing val.
    // If val was obtained from a struct field, finfo must have its details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top