Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for newDir (0.14 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    			fld := d.newdie(dwhb, dwarf.DW_ABRV_STRUCTFIELD, "keys")
    			d.newrefattr(fld, dwarf.DW_AT_type, dwhks)
    			newmemberoffsetattr(fld, abi.MapBucketCount)
    			fld = d.newdie(dwhb, dwarf.DW_ABRV_STRUCTFIELD, "values")
    			d.newrefattr(fld, dwarf.DW_AT_type, dwhvs)
    			newmemberoffsetattr(fld, abi.MapBucketCount+abi.MapBucketCount*int32(keysize))
    			fld = d.newdie(dwhb, dwarf.DW_ABRV_STRUCTFIELD, "overflow")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 19:39:32 UTC 2024
    - 329 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/value.go

    	if found {
    		return field.Ref.ExprValue()
    	}
    	fieldDef, found := o.objectType.Fields[nameStr]
    	if !found {
    		return types.NewErr("no such field: %s", nameStr)
    	}
    	defValue := fieldDef.DefaultValue()
    	if defValue != nil {
    		return defValue
    	}
    	return types.NewErr("no default for type: %s", fieldDef.TypeName())
    }
    
    // Type returns the CEL type value of the object.
    func (o *ObjectValue) Type() ref.Type {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  4. src/crypto/cipher/ctr_aes_test.go

    			in := tt.in[0 : len(tt.in)-j]
    			ctr := cipher.NewCTR(c, tt.iv)
    			encrypted := make([]byte, len(in))
    			ctr.XORKeyStream(encrypted, in)
    			if out := tt.out[0:len(in)]; !bytes.Equal(out, encrypted) {
    				t.Errorf("%s/%d: CTR\ninpt %x\nhave %x\nwant %x", test, len(in), in, encrypted, out)
    			}
    		}
    
    		for j := 0; j <= 7; j += 7 {
    			in := tt.out[0 : len(tt.out)-j]
    			ctr := cipher.NewCTR(c, tt.iv)
    			plain := make([]byte, len(in))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go

    // callsite: returns2.go:19:13|0 flagstr "" flagval 0 score 1 mask 16384 maskstr "returnFeedsConcreteToInterfaceCallAdj"
    // <endcallsites>
    // <endfuncpreamble>
    func T_return_feeds_iface_call() {
    	b := newBar(10)
    	b.Plark()
    }
    
    // returns2.go T_multi_return_feeds_iface_call 29 0 1
    // <endpropsdump>
    // {"Flags":0,"ParamFlags":null,"ResultFlags":null}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:01 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p4/p4.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
  7. pkg/structured/structured.go

    		return ""
    	}
    	return fmt.Sprintf("\tmoreInfo=%s impact=%s action=%s likelyCause=%s err=%v",
    		e.MoreInfo, e.Impact, e.Action, e.LikelyCause, e.Err)
    }
    
    // NewErr creates a new copy of an Error with the content of serr and err and returns a ptr to it.
    func NewErr(serr *Error, err error) *Error {
    	// Make a copy so that dictionary entry is not modified.
    	ne := *serr
    	ne.Err = err
    	return &ne
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/crypto/aes/modes.go

    }
    
    // ctrAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of CTR through the cipher.Stream interface.
    // See crypto/cipher/ctr.go.
    type ctrAble interface {
    	NewCTR(iv []byte) cipher.Stream
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue5581.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "fmt"
    
    func NewBar() *Bar { return nil }
    
    func (x *Foo) Method() (int, error) {
    	for y := range x.m {
    		_ = y.A
    	}
    	return 0, nil
    }
    
    type Foo struct {
    	m map[*Bar]int
    }
    
    type Bar struct {
    	A *Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 575 bytes
    - Viewed (0)
  10. src/net/fd_plan9.go

    	dir               string
    	listen, ctl, data *os.File
    	laddr, raddr      Addr
    	isStream          bool
    }
    
    var netdir = "/net" // default network
    
    func newFD(net, name string, listen, ctl, data *os.File, laddr, raddr Addr) (*netFD, error) {
    	ret := &netFD{
    		net:    net,
    		n:      name,
    		dir:    netdir + "/" + net + "/" + name,
    		listen: listen,
    		ctl:    ctl, data: data,
    		laddr: laddr,
    		raddr: raddr,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 04 16:01:50 UTC 2018
    - 3.6K bytes
    - Viewed (0)
Back to top