Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 483 for pcap (0.05 sec)

  1. test/ken/sliceslice.go

    	tstf()
    }
    
    func tstb() {
    	t++
    	if len(by) != hb-lb {
    		println("t=", t, "lb=", lb, "hb=", hb,
    			"len=", len(by), "hb-lb=", hb-lb)
    		panic("fail")
    	}
    	if cap(by) != len(bx)-lb {
    		println("t=", t, "lb=", lb, "hb=", hb,
    			"cap=", cap(by), "len(bx)-lb=", len(bx)-lb)
    		panic("fail")
    	}
    	for i := lb; i < hb; i++ {
    		if bx[i] != by[i-lb] {
    			println("t=", t, "lb=", lb, "hb=", hb,
    				"bx[", i, "]=", bx[i],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    				s.copyIntoBuf(b[len(b)-remainder:])
    			}
    			return length, nil
    		}
    
    		if len(s.buf) == cap(s.buf) {
    			// flush the buffer
    			kimd(s.function, &s.a, s.buf)
    			s.buf = s.buf[:0]
    		}
    
    		// copy as much as we can into the buffer
    		n := len(b)
    		if len(b) > cap(s.buf)-len(s.buf) {
    			n = cap(s.buf) - len(s.buf)
    		}
    		s.copyIntoBuf(b[:n])
    		b = b[n:]
    	}
    	return length, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    	// hitting the cap). If not positive, the duration is not
    	// changed. Used for exponential backoff in combination with
    	// Factor and Cap.
    	Steps int
    	// A limit on revised values of the duration parameter. If a
    	// multiplication by the factor parameter would make the duration
    	// exceed the cap then the duration is set to the cap and the
    	// steps parameter is set to zero.
    	Cap time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/PublishedCapabilitiesIntegrationTest.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: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. internal/grid/grid.go

    var PutByteBuffer = func(b []byte) {
    	if cap(b) >= biggerBufMin && cap(b) < biggerBufMax {
    		internal32KByteBuffer.Put(&b)
    		return
    	}
    	if cap(b) >= minBufferSize && cap(b) < biggerBufMin {
    		internalByteBuffer.Put(&b)
    		return
    	}
    }
    
    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 15:56:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/mremap.go

    	mremap: mremap,
    }
    
    func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
    	if newLength <= 0 || len(oldData) == 0 || len(oldData) != cap(oldData) || flags&mremapFixed != 0 {
    		return nil, EINVAL
    	}
    
    	pOld := &oldData[cap(oldData)-1]
    	m.Lock()
    	defer m.Unlock()
    	bOld := m.active[pOld]
    	if bOld == nil || &bOld[0] != &oldData[0] {
    		return nil, EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/builtins0.go

    	var x = f()
    	const (
    		_ = cap([4]int{})
    		_ = cap([4]int{x})
    		_ = cap /* ERROR "not constant" */ ([4]int{f()})
    		_ = cap /* ERROR "not constant" */ ([4]int{cap([]int{})})
    		_ = cap([4]int{cap([4]int{})})
    	)
    	var y float64
    	var z complex128
    	const (
    		_ = cap([4]float64{})
    		_ = cap([4]float64{y})
    		_ = cap([4]float64{real(2i)})
    		_ = cap /* ERROR "not constant" */ ([4]float64{real(z)})
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins_test.go

    	{"cap", `var s [10]int; _ = cap(s)`, `invalid type`},  // constant
    	{"cap", `var s [10]int; _ = cap(&s)`, `invalid type`}, // constant
    	{"cap", `var s []int64; _ = cap(s)`, `func([]int64) int`},
    	{"cap", `var c chan<-bool; _ = cap(c)`, `func(chan<- bool) int`},
    	{"cap", `type S []byte; var s S; _ = cap(s)`, `func(p.S) int`},
    	{"cap", `var s P; _ = cap(s)`, `func(P) int`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. test/nil.go

    		ch <- 1
    	})
    	shouldBlock(func() {
    		<-ch
    	})
    	shouldBlock(func() {
    		x, ok := <-ch
    		println(x, ok) // unreachable
    	})
    
    	if len(ch) != 0 {
    		panic(len(ch))
    	}
    	if cap(ch) != 0 {
    		panic(cap(ch))
    	}
    }
    
    // nil map
    
    func maptest() {
    	var m map[int]int
    
    	// nil map appears empty
    	if len(m) != 0 {
    		panic(len(m))
    	}
    	if m[1] != 0 {
    		panic(m[1])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 2.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/envoyfilter/monitoring.go

    }
    
    func RecordMetrics() {
    	if !features.EnableEnvoyFilterMetrics {
    		return
    	}
    	envoyFilterMutex.RLock()
    	defer envoyFilterMutex.RUnlock()
    	for name, pmap := range envoyFilterStatusMap {
    		for pt, applied := range pmap {
    			if applied {
    				envoyFilterStatus.With(nameType.Value(name)).With(patchType.Value(pt)).
    					With(resultType.Value(string(Applied))).Record(1)
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top