Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 105 for typexpr (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/encoding/xml/typeinfo.go

    	fAny
    
    	fOmitEmpty
    
    	fMode = fElement | fAttr | fCDATA | fCharData | fInnerXML | fComment | fAny
    
    	xmlName = "XMLName"
    )
    
    var tinfoMap sync.Map // map[reflect.Type]*typeInfo
    
    var nameType = reflect.TypeFor[Name]()
    
    // getTypeInfo returns the typeInfo structure with details necessary
    // for marshaling and unmarshaling typ.
    func getTypeInfo(typ reflect.Type) (*typeInfo, error) {
    	if ti, ok := tinfoMap.Load(typ); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. 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)
  10. src/encoding/json/decode.go

    		return Number(s), nil
    	}
    	f, err := strconv.ParseFloat(s, 64)
    	if err != nil {
    		return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}
    	}
    	return f, nil
    }
    
    var numberType = reflect.TypeFor[Number]()
    
    // literalStore decodes a literal stored in item into v.
    //
    // fromQuoted indicates whether this literal came from unwrapping a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top