- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 483 for pcap (0.05 sec)
-
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
originalSELinuxLabel: seLinuxFileLabel, } // record desired size of the volume if volumeSpec.PersistentVolume != nil { pvCap := volumeSpec.PersistentVolume.Spec.Capacity.Storage() if pvCap != nil { pvCapCopy := pvCap.DeepCopy() vmt.persistentVolumeSize = &pvCapCopy } } dsw.volumesToMount[volumeName] = vmt }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
test/fixedbugs/issue41239.go
// source code is governed by a BSD-style license that can be found in // the LICENSE file. package main import "fmt" func main() { const N = 1024 var a [N]int x := cap(append(a[:N-1:N], 9, 9)) y := cap(append(a[:N:N], 9)) if x != y { panic(fmt.Sprintf("different capacity on append: %d vs %d", x, y)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 25 03:59:54 UTC 2020 - 393 bytes - Viewed (0) -
test/fixedbugs/issue27356.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 15 02:35:59 UTC 2020 - 469 bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
variant('runtime') { capability('org', 'testA', '1.0') capability('cap') } } 'org:testB:1.0' { variant('runtime') { capability('org', 'testB', '1.0') capability('cap') } } } buildFile << """ dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 07:37:10 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/chan_test.go
func testCapChan(t *testing.T) { v := make(chan int, 25) if want, got := 25, capChan_ssa(v); got != want { t.Errorf("expected cap(chan) = %d, got %d", want, got) } } func testCapNilChan(t *testing.T) { var v chan int if want, got := 0, capChan_ssa(v); got != want { t.Errorf("expected cap(nil) = %d, got %d", want, got) } } func TestChan(t *testing.T) { testLenChan(t) testLenNilChan(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 1.1K bytes - Viewed (0) -
internal/dsync/utils.go
import ( "math/rand" "time" ) func backoffWait(min, unit, cap time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(r *rand.Rand, attempt uint) time.Duration { sleep := min sleep += unit * time.Duration(attempt) if sleep > cap { sleep = cap } sleep -= time.Duration(r.Float64() * float64(sleep))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 13 15:42:21 UTC 2023 - 1.2K bytes - Viewed (0) -
test/fixedbugs/bug491.go
if len(a) != 1 || len(c) != 3 { bug() println("append call not ordered:", len(a), b, len(c)) } } // cap { x := make([]int, 1) f := func() int { x = make([]int, 3); return 2 } a, b, c := cap(x), f(), cap(x) if a != 1 || c != 3 { bug() println("cap call not ordered:", a, b, c) } } // complex { x := 1.0 f := func() int { x = 3; return 2 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2K bytes - Viewed (0) -
src/mime/mediatype.go
} pmap := params if baseName, _, ok := strings.Cut(key, "*"); ok { if continuation == nil { continuation = make(map[string]map[string]string) } var ok bool if pmap, ok = continuation[baseName]; !ok { continuation[baseName] = make(map[string]string) pmap = continuation[baseName] } } if v, exists := pmap[key]; exists && v != value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.8K bytes - Viewed (0) -
test/indirect.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 25 06:44:08 UTC 2021 - 6.7K bytes - Viewed (0)