Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for uintValue (0.16 sec)

  1. android/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)
  2. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    for ( KerberosKey key : keys ) {
                        keysByAlgo.put(key.getKeyType(), key);
                    }
    
                    KerberosKey serverKey = keysByAlgo.get(encType.getValue().intValue());
                    if ( keysByAlgo.isEmpty() || serverKey == null ) {
                        throw new PACDecodingException("Kerberos key not found for eType " + encType.getValue());
                    }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. pkg/kube/apimirror/probe.go

    		return json.Marshal(intstr.IntVal)
    	case String:
    		return json.Marshal(intstr.StrVal)
    	default:
    		return []byte{}, fmt.Errorf("impossible IntOrString.Type")
    	}
    }
    
    func (intstr *IntOrString) IntValue() int {
    	if intstr.Type == String {
    		i, _ := strconv.Atoi(intstr.StrVal)
    		return i
    	}
    	return int(intstr.IntVal)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    	}
    	obj, err = storage.Get(ctx, "foo", &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	pdb := obj.(*policy.PodDisruptionBudget)
    	if pdb.Spec.MinAvailable.IntValue() != 7 {
    		t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", pdb.Spec.MinAvailable)
    	}
    	if pdb.Status.ExpectedPods != 8 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/gateway/gateway.go

    							// the actual port associated with the service is the `TargetPort` that reaches the sidecar *workload instances*.
    							if tp := port.TargetPort.IntValue(); tp != 0 {
    								servicePorts[uint32(tp)] = true
    								if _, ok := portMapping[uint32(port.Port)]; !ok {
    									portMapping[uint32(port.Port)] = uint32(tp)
    								}
    							} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public void oneNullableArgThrows(@Nullable String s) {
          doThrow(s);
        }
    
        public void twoArg(String s, Integer i) {
          checkNotNull(s);
          i.intValue();
        }
    
        public void twoMixedArgs(String s, @Nullable Integer i) {
          checkNotNull(s);
        }
    
        public void twoMixedArgs(@Nullable Integer i, String s) {
          checkNotNull(s);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  8. pkg/apis/resource/structured/namedresources/validation/validation.go

    		}
    
    		entries := sets.New[string]()
    		if attribute.QuantityValue != nil {
    			entries.Insert("quantity")
    		}
    		if attribute.BoolValue != nil {
    			entries.Insert("bool")
    		}
    		if attribute.IntValue != nil {
    			entries.Insert("int")
    		}
    		if attribute.IntSliceValue != nil {
    			entries.Insert("intSlice")
    		}
    		if attribute.StringValue != nil {
    			entries.Insert("string")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsDataService.java

            if (field == null) {
                return null;
            }
            if (clazz.equals(Integer.class)) {
                final Number value = (Number) field;
                return (T) Integer.valueOf(value.intValue());
            }
            if (clazz.equals(Long.class)) {
                final Number value = (Number) field;
                return (T) Long.valueOf(value.longValue());
            }
            return (T) field;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertEquals(6, getDone(transformedFuture).intValue());
        assertEquals(7, adder.apply(4).intValue());
    
        // Once more, with feeling.
        holder.value = 4;
        assertEquals(6, getDone(transformedFuture).intValue());
        assertEquals(8, adder.apply(4).intValue());
    
        // Memoized get also retains the value.
        assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
Back to top