Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 947 for asSlice (0.32 sec)

  1. src/crypto/cipher/io.go

    // to process each slice of data which passes through.
    type StreamReader struct {
    	S Stream
    	R io.Reader
    }
    
    func (r StreamReader) Read(dst []byte) (n int, err error) {
    	n, err = r.R.Read(dst)
    	r.S.XORKeyStream(dst[:n], dst[:n])
    	return
    }
    
    // StreamWriter wraps a [Stream] into an io.Writer. It calls XORKeyStream
    // to process each slice of data which passes through. If any [StreamWriter.Write]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. scan.go

    		}
    
    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    				isArrayKind = reflectValue.Kind() == reflect.Array
    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      optional string addressType = 4;
    
      // endpoints is a list of unique endpoints in this slice. Each slice may
      // include a maximum of 1000 endpoints.
      // +listType=atomic
      repeated Endpoint endpoints = 2;
    
      // ports specifies the list of network ports exposed by each endpoint in
      // this slice. Each port must have a unique name. When ports is empty, it
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pkg/apis/discovery/types.go

    	// All addresses in this slice must be the same type. This field is
    	// immutable after creation. The following address types are currently
    	// supported:
    	// * IPv4: Represents an IPv4 Address.
    	// * IPv6: Represents an IPv6 Address.
    	// * FQDN: Represents a Fully Qualified Domain Name. [DEPRECATED]
    	AddressType AddressType
    	// endpoints is a list of unique endpoints in this slice. Each slice may
    	// include a maximum of 1000 endpoints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 21:38:06 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/fmt.go

    	OTYPE:             8,
    	OUNSAFEADD:        8,
    	OUNSAFESLICE:      8,
    	OUNSAFESLICEDATA:  8,
    	OUNSAFESTRING:     8,
    	OUNSAFESTRINGDATA: 8,
    	OINDEXMAP:         8,
    	OINDEX:            8,
    	OSLICE:            8,
    	OSLICESTR:         8,
    	OSLICEARR:         8,
    	OSLICE3:           8,
    	OSLICE3ARR:        8,
    	OSLICEHEADER:      8,
    	OSTRINGHEADER:     8,
    	ODOTINTER:         8,
    	ODOTMETH:          8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/types.go

    	item.err = errors.New("expected kind, but got primitive")
    }
    
    func (item *kindItem) VisitArray(schema *openapi.Array) {
    	item.err = errors.New("expected kind, but got slice")
    }
    
    func (item *kindItem) VisitMap(schema *openapi.Map) {
    	item.err = errors.New("expected kind, but got map")
    }
    
    func (item *kindItem) VisitReference(schema openapi.Reference) {
    	if !item.hasVisitKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  7. src/encoding/json/decode.go

    //   - map[string]interface{}, for JSON objects
    //   - nil for JSON null
    //
    // To unmarshal a JSON array into a slice, Unmarshal resets the slice length
    // to zero and then appends each element to the slice.
    // As a special case, to unmarshal an empty JSON array into a slice,
    // Unmarshal replaces the slice with a new empty slice.
    //
    // To unmarshal a JSON array into a Go array, Unmarshal decodes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. src/os/file_wasip1.go

    //
    // Other packages in std that also import internal/poll (such as net)
    // can use a type assertion to access this extension method so that
    // they can pass the *poll.FD to functions like poll.Splice.
    //
    // There is an equivalent function in net.rawConn.
    //
    // PollFD is not intended for use outside the standard library.
    func (f *file) PollFD() *poll.FD {
    	return &f.pfd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 633 bytes
    - Viewed (0)
  9. src/strings/strings.go

    }
    
    // Split slices s into all substrings separated by sep and returns a slice of
    // the substrings between those separators.
    //
    // If s does not contain sep and sep is not empty, Split returns a
    // slice of length 1 whose only element is s.
    //
    // If sep is empty, Split splits after each UTF-8 sequence. If both s
    // and sep are empty, Split returns an empty slice.
    //
    // It is equivalent to [SplitN] with a count of -1.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/go/doc/testdata/generics.0.golden

    	// Func has an instantiated constraint. 
    	func Func[T Constraint[string, Type[int]]]()
    
    	// Single is not a factory function. 
    	func Single[T any]() *T
    
    	// Slice is not a factory function. 
    	func Slice[T any]() []T
    
    
    TYPES
    	// AFuncType demonstrates filtering of parameters and type ...
    	type AFuncType[T ~struct{ f int }] func(_ struct {
    		// contains filtered or unexported fields
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top