Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for dropg (0.07 sec)

  1. src/runtime/tracemap.go

    	meta.id = id
    	meta.hash = hash
    	return meta
    }
    
    // reset drops all allocated memory from the table and resets it.
    //
    // The caller must ensure that there are no put operations executing concurrently
    // with this function.
    func (tab *traceMap) reset() {
    	tab.root.Store(nil)
    	tab.seq.Store(0)
    	tab.mem.drop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/runtime/traceregion.go

    	a.current.Store(unsafe.Pointer(block))
    	unlock(&a.lock)
    	return x
    }
    
    // drop frees all previously allocated memory and resets the allocator.
    //
    // drop is not safe to call concurrently with other calls to drop or with calls to alloc. The caller
    // must ensure that it is not possible for anything else to be using the same structure.
    func (a *traceRegionAlloc) drop() {
    	a.dropping.Store(true)
    	for a.full != nil {
    		block := a.full
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. samples/bookinfo/platform/kube/bookinfo-psa.yaml

            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                  - all
              runAsNonRoot: true
    ---
    ##################################################################################################
    # Ratings service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.cni.injected

                memory: 1Gi
              requests:
                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: true
              runAsGroup: 4321
              runAsNonRoot: true
              runAsUser: 1234
            startupProbe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/templates/daemonset.yaml

                # But we don't need _everything_ in `privileged`, so drop+readd capabilities based on feature.
                # privileged is redundant with CAP_SYS_ADMIN
                # since it's redundant, hardcode it to `true`, then manually drop ALL + readd granular
                # capabilities we actually require
                capabilities:
                  drop:
                  - ALL
                  add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/dataclasses.md

    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    ```{ .python .annotate hl_lines="1  5  8-11  14-17  23-25  28" }
    {!../../../docs_src/dataclasses/tutorial003.py!}
    ```
    
    1. We still import `field` from standard `dataclasses`.
    
    2. `pydantic.dataclasses` is a drop-in replacement for `dataclasses`.
    
    3. The `Author` dataclass includes a list of `Item` dataclasses.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.tproxy.injected

                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                add:
                - NET_ADMIN
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: true
              runAsGroup: 4321
              runAsNonRoot: false
              runAsUser: 0
            startupProbe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/security_context.go

    	}
    
    	capabilities := &runtimeapi.Capability{
    		AddCapabilities:  make([]string, len(opts.Add)),
    		DropCapabilities: make([]string, len(opts.Drop)),
    	}
    	for index, value := range opts.Add {
    		capabilities.AddCapabilities[index] = string(value)
    	}
    	for index, value := range opts.Drop {
    		capabilities.DropCapabilities[index] = string(value)
    	}
    
    	return capabilities
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.injected

                memory: 1Gi
              requests:
                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: true
              runAsGroup: 4321
              runAsNonRoot: true
              runAsUser: 1234
            startupProbe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/hello-probes-localhost.yaml.injected

                memory: 1Gi
              requests:
                cpu: 100m
                memory: 128Mi
            securityContext:
              allowPrivilegeEscalation: false
              capabilities:
                drop:
                - ALL
              privileged: false
              readOnlyRootFilesystem: true
              runAsGroup: 1337
              runAsNonRoot: true
              runAsUser: 1337
            startupProbe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top