Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,691 for spice (0.05 sec)

  1. src/cmd/compile/internal/types2/slice.go

    package types2
    
    // 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: Thu Jul 01 22:17:50 UTC 2021
    - 577 bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/slice.go

    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. samples/security/spire/spire-quickstart.yaml

      verbs: ["get", "patch"]
    
    ---
    # RoleBinding granting the spire-server-role to the SPIRE server
    # service account.
    kind: RoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: spire-server-role-binding
      namespace: spire
    subjects:
    - kind: ServiceAccount
      name: spire-server
      namespace: spire
    roleRef:
      kind: Role
      name: spire-server-role
      apiGroup: rbac.authorization.k8s.io
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 16:12:42 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  4. samples/security/spire/sleep-spire.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: sleep
      template:
        metadata:
          labels:
            app: sleep
            spiffe.io/spire-managed-identity: "true"
          # Injects custom sidecar template
          annotations:
            inject.istio.io/templates: "sidecar,spire"
        spec:
          terminationGracePeriodSeconds: 0
          serviceAccountName: sleep
          containers:
          - name: sleep
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 22:08:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. samples/security/spire/istio-spire-config.yaml

    spec:
      profile: default
      meshConfig:
        trustDomain: example.org
      values:
        global:
        # This is used to customize the sidecar template
        sidecarInjectorWebhook:
          templates:
            spire: |
              spec:
                containers:
                - name: istio-proxy
                  volumeMounts:
                  - name: workload-socket
                    mountPath: /run/secrets/workload-spiffe-uds
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 22:08:56 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. src/internal/fuzz/mutators_byteslice.go

    		dst = m.rand(len(b))
    	}
    	n := m.chooseLen(len(b) - src)
    	// Use the end of the slice as scratch space to avoid doing an
    	// allocation. If the slice is too small abort and try something
    	// else.
    	if len(b)+(n*2) >= cap(b) {
    		return nil
    	}
    	end := len(b)
    	// Increase the size of b to fit the duplicated block as well as
    	// some extra working space
    	b = b[:end+(n*2)]
    	// Copy the block of bytes we want to duplicate to the end of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 19 18:23:43 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  7. releasenotes/notes/endpoint-slice.yaml

    Steven Landow <******@****.***> 1636742042 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 12 18:34:02 UTC 2021
    - 322 bytes
    - Viewed (0)
  8. test/unsafebuiltins.go

    		// length too large
    		var tooBig uint64 = math.MaxUint64
    		mustPanic(func() { _ = unsafe.Slice(new(byte), tooBig) })
    
    		// size overflows address space
    		mustPanic(func() { _ = unsafe.Slice(new(uint64), maxUintptr/8) })
    		mustPanic(func() { _ = unsafe.Slice(new(uint64), maxUintptr/8+1) })
    
    		// sliced memory overflows address space
    		last := (*byte)(unsafe.Pointer(^uintptr(0)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. test/nilptr.go

    // Test that the implementation catches nil ptr indirection
    // in a large address space.
    
    // Address space starts at 1<<32 on AIX and on darwin/arm64 and on windows/arm64, so dummy is too far.
    //go:build !aix && (!darwin || !arm64) && (!windows || !arm64)
    
    package main
    
    import "unsafe"
    
    // Having a big address space means that indexing
    // at a 256 MB offset from a nil pointer might not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. test/nilptr_aix.go

    }
    
    func p3() {
    	// Array to slice.
    	var p *[1 << 33]byte = nil
    	var x []byte = p[0:] // should panic
    	_ = x
    }
    
    var q *[1 << 33]byte
    
    func p4() {
    	// Array to slice.
    	var x []byte
    	var y = &x
    	*y = q[0:] // should crash (uses arraytoslice runtime routine)
    }
    
    func fb([]byte) {
    	panic("unreachable")
    }
    
    func p5() {
    	// Array to slice.
    	var p *[1 << 33]byte = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top