Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 253 for tints (3.13 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/policy_static.go

    		for resourceName := range requestedResources {
    			if _, ok := hints[string(resourceName)]; !ok {
    				hints[string(resourceName)] = []topologymanager.TopologyHint{}
    			}
    			hints[string(resourceName)] = append(hints[string(resourceName)], topologymanager.TopologyHint{
    				NUMANodeAffinity: mask,
    				Preferred:        false,
    			})
    		}
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. pkg/util/taints/taints_test.go

    		}
    		if !reflect.DeepEqual(newNode.Spec.Taints, c.expectedTaints) {
    			t.Errorf("[%s] the new node object should have taints %v, but got: %v", c.name, c.expectedTaints, newNode.Spec.Taints)
    		}
    	}
    }
    
    func TestDeleteTaint(t *testing.T) {
    	cases := []struct {
    		name           string
    		taints         []v1.Taint
    		taintToDelete  *v1.Taint
    		expectedTaints []v1.Taint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 09:23:35 UTC 2022
    - 22.6K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction.go

    	taints := getNoExecuteTaints(node.Spec.Taints)
    	func() {
    		tc.taintedNodesLock.Lock()
    		defer tc.taintedNodesLock.Unlock()
    		logger.V(4).Info("Updating known taints on node", "node", klog.KObj(node), "taints", taints)
    		if len(taints) == 0 {
    			delete(tc.taintedNodes, node.Name)
    		} else {
    			tc.taintedNodes[node.Name] = taints
    		}
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue();
        assertThat(Ints.contains(ARRAY234, (int) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. pkg/registry/discovery/endpointslice/strategy_test.go

    			},
    		},
    		{
    			name:             "hints gate enabled, set on new EPS",
    			hintsGateEnabled: true,
    			oldEPS: &discovery.EndpointSlice{
    				Endpoints: []discovery.Endpoint{
    					{
    						Hints: nil,
    					},
    					{
    						Hints: nil,
    					},
    				},
    			},
    			newEPS: &discovery.EndpointSlice{
    				Endpoints: []discovery.Endpoint{
    					{
    						Hints: &discovery.EndpointHints{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/topology_hints.go

    		}
    
    		// Otherwise, create a new hint from the NUMA mask and add it to the
    		// list of hints.  We set all hint preferences to 'false' on the first
    		// pass through.
    		hints = append(hints, topologymanager.TopologyHint{
    			NUMANodeAffinity: mask,
    			Preferred:        false,
    		})
    	})
    
    	// Loop back through all hints and update the 'Preferred' field based on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				{Name: "nodeB", Score: 50},
    				{Name: "nodeC", Score: 0},
    			},
    		},
    		// taints-tolerations priority only takes care about the taints and tolerations that have effect PreferNoSchedule
    		{
    			name: "only taints and tolerations that have effect PreferNoSchedule are checked by taints-tolerations priority function",
    			pod: podWithTolerations("pod1", []v1.Toleration{
    				{
    					Key:      "cpu-type",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top