Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 163 for uintValue (0.15 sec)

  1. pkg/apis/resource/namedresources.go

    type NamedResourcesAttributeValue struct {
    	// QuantityValue is a quantity.
    	QuantityValue *resource.Quantity
    	// BoolValue is a true/false value.
    	BoolValue *bool
    	// IntValue is a 64-bit integer.
    	IntValue *int64
    	// IntSliceValue is an array of 64-bit integers.
    	IntSliceValue *NamedResourcesIntSlice
    	// StringValue is a string.
    	StringValue *string
    	// StringSliceValue is an array of strings.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/log/slog/value_test.go

    	for _, test := range []struct {
    		in   any
    		want Value
    	}{
    		{1, IntValue(1)},
    		{1.5, Float64Value(1.5)},
    		{float32(2.5), Float64Value(2.5)},
    		{"s", StringValue("s")},
    		{true, BoolValue(true)},
    		{testTime, TimeValue(testTime)},
    		{time.Hour, DurationValue(time.Hour)},
    		{[]Attr{Int("i", 3)}, GroupValue(Int("i", 3))},
    		{IntValue(4), IntValue(4)},
    		{uint(2), Uint64Value(2)},
    		{uint8(3), Uint64Value(3)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    										</div>
    									</div>
    									</c:forEach>
    									<c:set var="nameKey">name${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<c:set var="valueKey">value${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<div class="form-group row">
    										<div class="col-sm-6">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        assertFalse(task.isDone());
        task.run();
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertEquals(2, getDone(task).intValue());
      }
    
      public void testCancelled() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
        assertFalse(task.isDone());
        task.cancel(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          at.set(x);
          assertEquals(Double.toString(x), at.toString());
        }
      }
    
      /** intValue returns current value. */
      public void testIntValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0, at.intValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	QuantityValue *resource.Quantity `json:"quantity,omitempty" protobuf:"bytes,6,opt,name=quantity"`
    	// BoolValue is a true/false value.
    	BoolValue *bool `json:"bool,omitempty" protobuf:"bytes,2,opt,name=bool"`
    	// IntValue is a 64-bit integer.
    	IntValue *int64 `json:"int,omitempty" protobuf:"varint,7,opt,name=int"`
    	// IntSliceValue is an array of 64-bit integers.
    	IntSliceValue *NamedResourcesIntSlice `json:"intSlice,omitempty" protobuf:"varint,8,rep,name=intSlice"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        assertFalse(task.isDone());
        task.run();
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertEquals(2, getDone(task).intValue());
      }
    
      public void testCancelled() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
        assertFalse(task.isDone());
        task.cancel(false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ComposeFunction implements Function<Integer, String> {
        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

              public Integer getResult() {
                return seen;
              }
            };
        assertEquals(
            "processLine was called more than once",
            1,
            CharStreams.readLines(r, alwaysFalse).intValue());
    
        // Test a LineProcessor that always returns true.
        r = new StringReader(text);
        LineProcessor<Integer> alwaysTrue =
            new LineProcessor<Integer>() {
              int seen;
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top