Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 258 for elim (0.27 sec)

  1. src/cmd/compile/internal/typecheck/iexport.go

    //
    //     type PointerType struct {
    //         Tag  itag // pointerType
    //         Elem typeOff
    //     }
    //
    //     type SliceType struct {
    //         Tag  itag // sliceType
    //         Elem typeOff
    //     }
    //
    //     type ArrayType struct {
    //         Tag  itag // arrayType
    //         Len  uint64
    //         Elem typeOff
    //     }
    //
    //     type ChanType struct {
    //         Tag  itag   // chanType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    		return m.match(typ.Key(), false) && m.match(typ.Elem(), false)
    
    	case *types.Chan:
    		return m.t&argPointer != 0
    
    	case *types.Array:
    		// Same as slice.
    		if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 {
    			return true // %s matches []byte
    		}
    		// Recur: []int matches %d.
    		return m.match(typ.Elem(), false)
    
    	case *types.Slice:
    		// Same as array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. pdm_build.py

            "_internal-slim-build"
        ]["packages"][TIANGOLO_BUILD_PACKAGE]
        project_config: Dict[str, Any] = config["project"]
        # Get main optional dependencies, extras
        optional_dependencies: Dict[str, List[str]] = metadata.get(
            "optional-dependencies", {}
        )
        # Get custom optional dependencies name to always include in this (non-slim) package
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 30 06:38:13 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testshared/testdata/exe/exe.go

    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	runtime.GC()
    	depBase.V = depBase.F() + 1
    
    	var c *C
    	if reflect.TypeOf(F).Out(0) != reflect.TypeOf(c) {
    		panic("bad reflection results, see golang.org/issue/18252")
    	}
    
    	sp := reflect.New(reflect.TypeOf(slicePtr).Elem())
    	s := sp.Interface()
    
    	if reflect.TypeOf(s) != reflect.TypeOf(slicePtr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 906 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go

    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    func (r *PtraceRegs) PC() uint64 { return uint64(r.Uregs[15]) }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Uregs[15] = uint32(pc) }
    
    func (iov *Iovec) SetLen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    						addType(targs.At(i))
    					}
    				}
    			}
    		case *types.Pointer:
    			addType(T.Elem())
    		case *types.Slice:
    			addType(T.Elem())
    		case *types.Array:
    			addType(T.Elem())
    		case *types.Chan:
    			addType(T.Elem())
    		case *types.Map:
    			addType(T.Key())
    			addType(T.Elem())
    		case *types.Signature:
    			addType(T.Params())
    			addType(T.Results())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/dist/testjson.go

    				return
    			}
    		}
    	}
    
    	// Something went wrong. Just pass the line through.
    	f.w.Write(line)
    }
    
    type jsonValue struct {
    	atom json.Token  // If json.Delim, then seq will be filled
    	seq  []jsonValue // If atom == json.Delim('{'), alternating pairs
    }
    
    var jsonPop = errors.New("end of JSON sequence")
    
    func decodeJSONValue(dec *json.Decoder) (jsonValue, error) {
    	t, err := dec.Token()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue46275.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue46275
    
    type N[T any] struct {
    	*N[T]
    	t T
    }
    
    func (n *N[T]) Elem() T {
    	return n.t
    }
    
    type I interface {
    	Elem() string
    }
    
    func _() {
    	var n1 *N[string]
    	var _ I = n1
    	type NS N[string]
    	var n2 *NS
    	var _ I = n2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 387 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go

    	Max uint32
    }
    
    //sysnb	getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT
    
    func Getrlimit(resource int, rlim *Rlimit) (err error) {
    	err = Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    
    	rl := rlimit32{}
    	err = getrlimit(resource, &rl)
    	if err != nil {
    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/reflect/iter.go

    		return rangeNum[uint32](v.Uint())
    	case Uint64:
    		return rangeNum[uint64](v.Uint())
    	case Uintptr:
    		return rangeNum[uintptr](v.Uint())
    	case Pointer:
    		if v.Elem().kind() != Array {
    			break
    		}
    		return func(yield func(Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value) bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top