Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 504 for nelem (0.2 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      ).group(0)
      for testsuite in r:
        testsuite._elem.set("source_file", source_file)
        # Remove empty testcases
        for p in testsuite._elem.xpath(".//testcase"):
          if not len(p):  # pylint: disable=g-explicit-length-test
            testsuite._elem.remove(p)
        # Change "testsuite > testcase,system-out" to "testsuite > testcase > error"
        for p in testsuite._elem.xpath(".//system-out"):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue17449.go

    func (l *PriorityList) remove(i int) interface{} {
        elem := l.elems[i]
        l.elems = append(l.elems[:i], l.elems[i+1:]...)
        return elem
    }
    
    func (l *PriorityList) Next() interface{} {
        return l.remove(l.Len() - 1)
    }
    
    var l *PriorityList
    
    func Foo() {
        // It would fail here if instrumented code (including inline-label) was copied.
        for elem := l.Next(); elem != nil; elem = l.Next() {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. pkg/config/schema/collections/collections.agent.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/array.go

    package types2
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 803 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/map.go

    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    
    // Key returns the key type of map m.
    func (m *Map) Key() Type { return m.key }
    
    // Elem returns the element type of map m.
    func (m *Map) Elem() Type { return m.elem }
    
    func (t *Map) Underlying() Type { return t }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 659 bytes
    - Viewed (0)
  6. src/go/types/slice.go

    package types
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    // Elem returns the element type of slice s.
    func (s *Slice) Elem() Type { return s.elem }
    
    func (s *Slice) Underlying() Type { return s }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 701 bytes
    - Viewed (0)
  7. test/fixedbugs/bug054.go

    package main
    
    type Element interface {
    }
    
    type Vector struct {
    	elem []Element;
    }
    
    func (v *Vector) At(i int) Element {
    	return v.elem[i];
    }
    
    type TStruct struct {
    	name string;
    	fields *Vector;
    }
    
    func (s *TStruct) field(i int) *TStruct {
    	return s.fields.At(i).(*TStruct);
    }
    
    func main() {
    	v := new(Vector);
    	v.elem = make([]Element, 10);
    	t := new(TStruct);
    	t.name = "hi";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 669 bytes
    - Viewed (0)
  8. src/go/types/pointer.go

    type Pointer struct {
    	base Type // element type
    }
    
    // NewPointer returns a new pointer type for the given element (base) type.
    func NewPointer(elem Type) *Pointer { return &Pointer{base: elem} }
    
    // Elem returns the element type for the given pointer p.
    func (p *Pointer) Elem() Type { return p.base }
    
    func (p *Pointer) Underlying() Type { return p }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 761 bytes
    - Viewed (0)
  9. test/typeparam/orderedmapsimp.dir/a.go

    // the receiver stops reading them.
    func Ranger[Elem any]() (*Sender[Elem], *Receiver[Elem]) {
    	c := make(chan Elem)
    	d := make(chan struct{})
    	s := &Sender[Elem]{
    		values: c,
    		done:   d,
    	}
    	r := &Receiver[Elem]{
    		values: c,
    		done:   d,
    	}
    	runtime.SetFinalizer(r, (*Receiver[Elem]).finalize)
    	return s, r
    }
    
    // A Sender is used to send values to a Receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. scan.go

    				if !update {
    					if !isPtr {
    						elem = elem.Elem()
    					}
    					if isArrayKind {
    						if reflectValue.Len() >= int(db.RowsAffected) {
    							reflectValue.Index(int(db.RowsAffected - 1)).Set(elem)
    						}
    					} else {
    						reflectValue = reflect.Append(reflectValue, elem)
    					}
    				}
    			}
    
    			if !update {
    				db.Statement.ReflectValue.Set(reflectValue)
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top