Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for L1 (0.04 sec)

  1. src/runtime/mpagealloc_64bit.go

    )
    
    const (
    	// The number of levels in the radix tree.
    	summaryLevels = 5
    
    	// Constants for testing.
    	pageAlloc32Bit = 0
    	pageAlloc64Bit = 1
    
    	// Number of bits needed to represent all indices into the L1 of the
    	// chunks map.
    	//
    	// See (*pageAlloc).chunks for more details. Update the documentation
    	// there should this number change.
    	pallocChunksL1Bits = 13
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"'%b %b %b'.format([7, 8, 9]) == '111 1000 1001'": 3,
    			},
    		},
    		{name: "escaped strings",
    			obj:    objs("l1\nl2", "l1\nl2"),
    			schema: schemas(stringType, stringType),
    			expectCost: map[string]int64{
    				ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", "'l1\\nl2'"): 11,
    				"self.val1 == '''l1\nl2'''": 3,
    			},
    		},
    		{name: "bytes",
    			obj:    objs("QUI=", "QUI="),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. src/log/slog/logger_test.go

    func TestAttrs(t *testing.T) {
    	check := func(got []Attr, want ...Attr) {
    		t.Helper()
    		if !attrsEqual(got, want) {
    			t.Errorf("got %v, want %v", got, want)
    		}
    	}
    
    	l1 := New(&captureHandler{}).With("a", 1)
    	l2 := New(l1.Handler()).With("b", 2)
    	l2.Info("m", "c", 3)
    	h := l2.Handler().(*captureHandler)
    	check(h.attrs, Int("a", 1), Int("b", 2))
    	check(attrsSlice(h.r), Int("c", 3))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit-icons.min.js

    width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M1.5,5 C1.5,4.2 2.2,3.5 3,3.5 L17,3.5 C17.8,3.5 18.5,4.2 18.5,5 L18.5,16 C18.5,16.8 17.8,17.5 17,17.5 L3,17.5 C2.2,17.5 1.5,16.8 1.5,16 L1.5,5 L1.5,5 L1.5,5 Z"/><circle cx="3.7" cy="10.5" r=".8"/></svg>',tablet:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="#000" d="M5,18.5 C4.2,18.5 3.5,17.8 3.5,17 L3.5,3 C3.5,2.2 4.2,1.5 5,1.5 L16,1.5...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 62.5K bytes
    - Viewed (0)
  5. test/escape2.go

    }
    
    // a harmless forward jump
    func foo122() {
    	var i *int
    
    	goto L1
    L1:
    	i = new(int) // ERROR "new\(int\) does not escape$"
    	_ = i
    }
    
    // a backward jump, increases loopdepth
    func foo123() {
    	var i *int
    
    L1:
    	i = new(int) // ERROR "new\(int\) escapes to heap$"
    
    	goto L1
    	_ = i
    }
    
    func foo124(x **int) { // ERROR "x does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	type expectedResult struct {
    		containerConfig *runtimeapi.LinuxContainerConfig
    		memoryLow       int64
    		memoryHigh      int64
    	}
    	l1, _ := m.generateLinuxContainerConfig(&pod1.Spec.Containers[0], pod1, new(int64), "", nil, true)
    	l2, _ := m.generateLinuxContainerConfig(&pod2.Spec.Containers[0], pod2, new(int64), "", nil, true)
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe_test.go

    }
    
    // isInBounds returns whether the element is within the expected bit size bounds
    // after a light reduction.
    func isInBounds(x *Element) bool {
    	return bits.Len64(x.l0) <= 52 &&
    		bits.Len64(x.l1) <= 52 &&
    		bits.Len64(x.l2) <= 52 &&
    		bits.Len64(x.l3) <= 52 &&
    		bits.Len64(x.l4) <= 52
    }
    
    func TestMultiplyDistributesOverAdd(t *testing.T) {
    	multiplyDistributesOverAdd := func(x, y, z Element) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. test/escape2n.go

    }
    
    // a harmless forward jump
    func foo122() {
    	var i *int
    
    	goto L1
    L1:
    	i = new(int) // ERROR "new\(int\) does not escape$"
    	_ = i
    }
    
    // a backward jump, increases loopdepth
    func foo123() {
    	var i *int
    
    L1:
    	i = new(int) // ERROR "new\(int\) escapes to heap$"
    
    	goto L1
    	_ = i
    }
    
    func foo124(x **int) { // ERROR "x does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/order.go

    			// makes sure there is nothing too deep being copied.
    			l1 := o.safeExpr(n.X)
    			l2 := ir.DeepCopy(src.NoXPos, l1)
    			if l2.Op() == ir.OINDEXMAP {
    				l2 := l2.(*ir.IndexExpr)
    				l2.Assigned = false
    			}
    			l2 = o.copyExpr(l2)
    			r := o.expr(typecheck.Expr(ir.NewBinaryExpr(n.Pos(), n.AsOp, l2, n.Y)), nil)
    			as := typecheck.Stmt(ir.NewAssignStmt(n.Pos(), l1, r))
    			o.mapAssign(as)
    			o.popTemp(t)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/crds/standard-install.yaml

                      rule: self.all(l1, self.exists_one(l2, l1.name == l2.name))
                    - message: Combination of port, protocol and hostname must be unique
                        for each listener
                      rule: 'self.all(l1, self.exists_one(l2, l1.port == l2.port && l1.protocol
                        == l2.protocol && (has(l1.hostname) && has(l2.hostname) ? l1.hostname
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 458.3K bytes
    - Viewed (0)
Back to top