Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ArrayType (0.14 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		vq.Qualifier.goString(indent+2, "Qualifier: "),
    		vq.Type.goString(indent+2, "Type: "))
    }
    
    // ArrayType is an array type.
    type ArrayType struct {
    	Dimension AST
    	Element   AST
    }
    
    func (at *ArrayType) print(ps *printState) {
    	// Pass the array type down as an inner type so that we print
    	// multi-dimensional arrays correctly.
    	ps.inner = append(ps.inner, at)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			obj:    []interface{}{"bar"},
    			oldObj: []interface{}{"baz"},
    			schema: withRule(arrayType("", nil, &stringSchema), `
    				!oldSelf.hasValue() || self[0] == "bar"
    			`),
    		},
    		{
    			name: "array - conditional index",
    			obj:  []interface{}{},
    			oldObj: []interface{}{
    				"baz",
    			},
    			schema: withRule(arrayType("", nil, &stringSchema), `
    				self.size() > 0 || oldSelf[?0].orValue("baz") == "baz"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. src/reflect/value.go

    			panic("reflect.Value.Bytes of non-byte array")
    		}
    		if !v.CanAddr() {
    			panic("reflect.Value.Bytes of unaddressable byte array")
    		}
    		p := (*byte)(v.ptr)
    		n := int((*arrayType)(unsafe.Pointer(v.typ())).Len)
    		return unsafe.Slice(p, n)
    	}
    	panic(&ValueError{"reflect.Value.Bytes", v.kind()})
    }
    
    // runes returns v's underlying value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    or specified using a <i>type literal</i>, which composes a type from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
    	    SliceType | MapType | ChannelType .
    </pre>
    
    <p>
    The language <a href="#Predeclared_identifiers">predeclares</a> certain type names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top