Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Hp (0.02 sec)

  1. pkg/kubelet/cm/topologymanager/policy_test.go

    )
    
    type policyMergeTestCase struct {
    	name     string
    	hp       []HintProvider
    	expected TopologyHint
    }
    
    func commonPolicyMergeTestCases(numaNodes []int) []policyMergeTestCase {
    	return []policyMergeTestCase{
    		{
    			name: "Two providers, 1 hint each, same mask, both preferred 1/2",
    			hp: []HintProvider{
    				&mockHintProvider{
    					map[string][]TopologyHint{
    						"resource1": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/topology_manager_test.go

    	tcases := []struct {
    		name string
    		hp   []HintProvider
    	}{
    		{
    			name: "Add HintProvider",
    			hp: []HintProvider{
    				&mockHintProvider{},
    				&mockHintProvider{},
    				&mockHintProvider{},
    			},
    		},
    	}
    	mngr := manager{}
    	mngr.scope = NewContainerScope(NewNonePolicy())
    	for _, tc := range tcases {
    		for _, hp := range tc.hp {
    			mngr.AddHintProvider(hp)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 13:04:32 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/range.go

    		// Assign variables on the LHS of the range statement. Use *hp to get the element.
    		e := ir.NewStarExpr(base.Pos, hp)
    		e.SetBounded(true)
    		a := rangeAssign2(nrange, hv1, e)
    		body = append(body, a)
    
    		// Advance pointer for next iteration of the loop.
    		// This reads from hp and writes to hu.
    		huVal = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUNSAFEPTR], hp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
     *     .requireBracketsForIPv6();
     * hp.getHost();   // returns "2001:db8::1"
     * hp.getPort();   // returns 80
     * hp.toString();  // returns "[2001:db8::1]:80"
     * </pre>
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/HostAndPort.java

    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
     *     .requireBracketsForIPv6();
     * hp.getHost();   // returns "2001:db8::1"
     * hp.getPort();   // returns 80
     * hp.toString();  // returns "[2001:db8::1]:80"
     * </pre>
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types_test.go

    		t.Run(test.desc, func(t *testing.T) {
    			hp := make(HostPortInfo)
    			for _, param := range test.added {
    				hp.Add(param.ip, param.protocol, param.port)
    			}
    			for _, param := range test.removed {
    				hp.Remove(param.ip, param.protocol, param.port)
    			}
    			if hp.Len() != test.length {
    				t.Errorf("%v failed: expect length %d; got %d", test.desc, test.length, hp.Len())
    				t.Error(hp)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/assign.go

    //	      s = s[:n]
    //	    } else {
    //	      s = growslice(T, s.ptr, n, s.cap, l2, T)
    //	    }
    //	    // clear the new portion of the underlying array.
    //	    hp := &s[len(s)-l2]
    //	    hn := l2 * sizeof(T)
    //	    memclr(hp, hn)
    //	  }
    //	}
    //	s
    //
    //	if T has pointers, the final memclr can go inside the "then" branch, as
    //	growslice will have done the clearing for us.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/net/http/response.go

    }
    
    // RFC 7234, section 5.4: Should treat
    //
    //	Pragma: no-cache
    //
    // like
    //
    //	Cache-Control: no-cache
    func fixPragmaCacheControl(header Header) {
    	if hp, ok := header["Pragma"]; ok && len(hp) > 0 && hp[0] == "no-cache" {
    		if _, presentcc := header["Cache-Control"]; !presentcc {
    			header["Cache-Control"] = []string{"no-cache"}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy

            'hpuxJre6'       | hpuxJvm('6')             | JavaVersion.VERSION_1_6 | 'HP-UX JRE 6'                | true
            'hpuxJdk7'       | hpuxJvm('7')             | JavaVersion.VERSION_1_7 | 'HP-UX JDK 7'                | false
            'sapjdk13'       | sapJvm('13')             | JavaVersion.VERSION_13  | 'SAP SapMachine JDK 13'      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. pkg/volume/hostpath/host_path.go

    // The direct at the specified path will be directly exposed to the container.
    type hostPath struct {
    	path     string
    	pathType *v1.HostPathType
    	volume.MetricsNil
    }
    
    func (hp *hostPath) GetPath() string {
    	return hp.path
    }
    
    type hostPathMounter struct {
    	*hostPath
    	readOnly      bool
    	mounter       mount.Interface
    	hu            hostutil.HostUtils
    	noTypeChecker bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top