Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 140 for uintValue (1.66 sec)

  1. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    		},
    		"int": {
    			resources: testResources([]resourceapi.NamedResourcesInstance{{Name: goodName, Attributes: []resourceapi.NamedResourcesAttribute{{Name: goodName, NamedResourcesAttributeValue: resourceapi.NamedResourcesAttributeValue{IntValue: ptr.To(int64(1))}}}}}),
    		},
    		"int-slice": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          Future<Integer> future = futures.get(i);
          assertTrue("Task should have been run before being returned", future.isDone());
          assertEquals(i, future.get().intValue());
        }
    
        assertEquals(10, threadLocalCount.get().intValue());
      }
    
      public void testDirectExecutorServiceServiceTermination() throws Exception {
        final ExecutorService executor = newDirectExecutorService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            when:
            impl.unmanagedValue "value"
            impl.intValue 12
    
            then:
            1 * delegate.setUnmanagedValue("value")
            1 * delegate.setIntValue(12)
            0 * delegate._
    
            when:
            impl.intValue "123"
    
            then:
            1 * delegate.setIntValue(123)
            0 * delegate._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. pkg/kubelet/util/manager/cache_based_manager.go

    		if err != nil {
    			return time.Duration(0), false
    		}
    		if node != nil && node.Annotations != nil {
    			if value, ok := node.Annotations[v1.ObjectTTLAnnotationKey]; ok {
    				if intValue, err := strconv.Atoi(value); err == nil {
    					return time.Duration(intValue) * time.Second, true
    				}
    			}
    		}
    		return time.Duration(0), false
    	}
    }
    
    func (s *objectStore) isObjectFresh(data *objectData) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pkg/controller/ttl/ttl_controller.go

    	if !ok {
    		return 0, false
    	}
    	intValue, err := strconv.Atoi(annotationValue)
    	if err != nil {
    		logger := klog.FromContext(ctx)
    		logger.Info("Could not convert the value with annotation key for the node", "annotationValue",
    			annotationValue, "annotationKey", annotationKey, "node", klog.KObj(node))
    		return 0, false
    	}
    	return intValue, true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/CompositeTestResults.java

            BigDecimal successful = BigDecimal.valueOf(getRunTestCount() - getFailureCount());
    
            return successful.divide(runTests, 2, RoundingMode.DOWN).multiply(BigDecimal.valueOf(100)).intValue();
        }
    
        protected void failed(TestResult failedTest) {
            failures.add(failedTest);
            if (parent != null) {
                parent.failed(failedTest);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
            resetPassword(form);
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        // Finish the task by unblocking the task latch.  Then wait for the
        // listener to be called by blocking on the listener latch.
        taskLatch.countDown();
        assertEquals(25, task.get().intValue());
        assertTrue(listenerLatch.await(5, TimeUnit.SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
      public void testListenerCalledOnException() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

        }
    
        def "replaceAll() uses equals for primitive wrappers and Strings"() {
            def map = getMapUnderTestToWrite(intValue: 100500, stringValue: "value")
            when:
            map.replaceAll { k, v ->
                switch (k) {
                    case "intValue": return Integer.valueOf((int) v)
                    case "stringValue": return new String((String) v)
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top