Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for reserved4 (0.24 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy

        }
    
        def "detects when ports are unavailable" () {
            def reserved = []
    
            when:
            8.times {
                reserved.add(range.allocate())
            }
    
            then:
            _ * portDetector.isAvailable(_) >> { int port -> return ! (port in [103,107]) }
    
            and:
            ! reserved.contains(103)
            ! reserved.contains(107)
    
            and:
            range.allocate() == -1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 06 13:37:30 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    				},
    			},
    			"",
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			reserved, _ := convertReserved(&machineInfo, tc.systemReserved)
    			if !reflect.DeepEqual(reserved, tc.systemReservedExpected) {
    				t.Errorf("got %v, expected %v", reserved, tc.systemReservedExpected)
    			}
    		})
    	}
    }
    
    func TestGetSystemReservedMemory(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  3. src/runtime/tracebuf.go

    		if v < 0x80 {
    			pos += i + 1
    			arr[i] = byte(v)
    			break
    		}
    		arr[i] = 0x80 | byte(v)
    		v >>= 7
    	}
    	buf.pos = pos
    }
    
    // varintReserve reserves enough space in buf to hold any varint.
    //
    // Space reserved this way can be filled in with the varintAt method.
    func (buf *traceBuf) varintReserve() int {
    	p := buf.pos
    	buf.pos += traceBytesPerNumber
    	return p
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. pkg/registry/core/service/allocator/bitmap_test.go

    		allocator func(max int, rangeSpec string, reserved int) *AllocationBitmap
    		max       int
    		reserved  int
    	}{
    		{
    			name:      "NewAllocationMap",
    			allocator: NewAllocationMapWithOffset,
    			max:       32,
    			reserved:  0,
    		},
    		{
    			name:      "NewAllocationMapWithOffset max < 16",
    			allocator: NewAllocationMapWithOffset,
    			max:       8,
    			reserved:  0,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 10 08:56:31 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/policy_static_test.go

    	testCases := []testStaticPolicy{
    		{
    			description:   "should fail, when machine does not have reserved memory for the system workloads",
    			expectedError: fmt.Errorf("[memorymanager] you should specify the system reserved memory"),
    		},
    		{
    			description: "should succeed, when at least one NUMA node has reserved memory",
    			systemReserved: systemReservedMemory{
    				0: map[v1.ResourceName]uint64{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  6. src/runtime/arena.go

    }
    
    // userArenaChunkReserveBytes returns the amount of additional bytes to reserve for
    // heap metadata.
    func userArenaChunkReserveBytes() uintptr {
    	// In the allocation headers experiment, we reserve the end of the chunk for
    	// a pointer/scalar bitmap. We also reserve space for a dummy _type that
    	// refers to the bitmap. The PtrBytes field of the dummy _type indicates how
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. src/math/jn.go

    // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
    //
    // Developed at SunPro, a Sun Microsystems, Inc. business.
    // Permission to use, copy, modify, and distribute this
    // software is freely granted, provided that this notice
    // is preserved.
    // ====================================================
    //
    // __ieee754_jn(n, x), __ieee754_yn(n, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. src/math/expm1.go

    //
    // Developed at SunPro, a Sun Microsystems, Inc. business.
    // Permission to use, copy, modify, and distribute this
    // software is freely granted, provided that this notice
    // is preserved.
    // ====================================================
    //
    // expm1(x)
    // Returns exp(x)-1, the exponential of x minus 1.
    //
    // Method
    //   1. Argument reduction:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    085E          ; valid                  ;      ; NV8    # 6.0  MANDAIC PUNCTUATION
    085F          ; disallowed                             # NA   <reserved-085F>
    0860..086A    ; valid                                  # 10.0 SYRIAC LETTER MALAYALAM NGA..SYRIAC LETTER MALAYALAM SSA
    086B..086F    ; disallowed                             # NA   <reserved-086B>..<reserved-086F>
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  10. pkg/util/flag/flags_test.go

    						v1.ResourceMemory:        memory1Gi,
    						resourceNameHugepages1Gi: memory1Gi,
    					},
    				},
    			},
    		},
    		{
    			desc: "valid input with multiple reserved-memory arguments",
    			argc: "blah --reserved-memory=0:memory=1Gi,hugepages-1Gi=1Gi --reserved-memory=1:memory=1Gi",
    			expectVal: []kubeletconfig.MemoryReservation{
    				{
    					NumaNode: 0,
    					Limits: v1.ResourceList{
    						v1.ResourceMemory:        memory1Gi,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
Back to top