Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 217 for Vints (0.18 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

        short[] array = {(short) 0, (short) 1, (short) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

              + aggr.nodeAggregate(node)
              + aggregateAboveRange(aggr, node.left);
        }
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE));
      }
    
      @Override
      int distinctElements() {
        return Ints.saturatedCast(aggregateForEntries(Aggregate.DISTINCT));
      }
    
      static int distinctElements(@CheckForNull AvlNode<?> node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

            byte x = VALUES[i];
            byte y = VALUES[j];
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Math.signum(Ints.compare(i, j)))
                .isEqualTo(Math.signum(UnsignedBytes.compare(x, y)));
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> UnsignedBytes.max());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.MutableClassToInstanceMap;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    var statusTextToCode = map[string]int{
    	"Continue":                        http.StatusContinue,
    	"Switching Protocols":             http.StatusSwitchingProtocols,
    	"Processing":                      http.StatusProcessing,
    	"Early Hints":                     http.StatusEarlyHints,
    	"OK":                              http.StatusOK,
    	"Created":                         http.StatusCreated,
    	"Accepted":                        http.StatusAccepted,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Objects;
    import com.google.common.base.Preconditions;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            statusLine.code == HTTP_CONTINUE -> {
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            statusLine.code in (102 until 200) -> {
              // Processing and Early Hints will mean a second headers are coming.
              // Treat others the same for now
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            else -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    import java.io.InvalidObjectException;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

    import static org.junit.Assert.assertFalse;
    
    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.EqualsTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Random;
    import java.util.Set;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils_test.go

    		if gotNewErr != errErasureWriteQuorum {
    			t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr)
    		}
    	}
    }
    
    // TestHashOrder - test order of ints in array
    func TestHashOrder(t *testing.T) {
    	testCases := []struct {
    		objectName  string
    		hashedOrder []int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top