Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,650 for cast (0.04 sec)

  1. guava/src/com/google/common/collect/Streams.java

       * nulls in the stream. This means that the method can safely be used with a stream that contains
       * nulls as long as the *last* element is *not* null.
       *
       * (To "go out of its way," the method tracks a `set` bit so that it can distinguish "the final
       * split has a last element of null, so throw NPE" from "the final split was empty, so look for an
       * element in the prior one.")
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
            // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        }
    
        void testIsOrdered() {
          assertTrue(ordering.isOrdered(strictlyOrderedList));
          assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList));
        }
    
        // generic arrays and unchecked cast
        void testMinAndMax() {
          List<T> shuffledList = Lists.newArrayList(strictlyOrderedList);
          shuffledList = shuffledCopy(shuffledList, new Random(5));
    
          T min = strictlyOrderedList.get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        }
    
        void testIsOrdered() {
          assertTrue(ordering.isOrdered(strictlyOrderedList));
          assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList));
        }
    
        // generic arrays and unchecked cast
        void testMinAndMax() {
          List<T> shuffledList = Lists.newArrayList(strictlyOrderedList);
          shuffledList = shuffledCopy(shuffledList, new Random(5));
    
          T min = strictlyOrderedList.get(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
            // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    return null;
                }
            };
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private void fireEvent(
                Model model,
                ModelBuildingRequest request,
                ModelProblemCollector problems,
                ModelBuildingEventCatapult catapult) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      // 1. In the listener that performs the callback. In this case it is fine since inputFuture is
      //    assigned prior to calling addListener, and addListener happens-before any invocation of the
      //    listener. Notably, this means that 'volatile' is unnecessary to make 'inputFuture' visible
      //    to the listener.
      //
      // 2. In done() where we may propagate cancellation to the input. In this case it is _not_ fine.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        checkArgument(
            bytes.length == 4,
            "Byte array has invalid length for an IPv4 address: %s != 4.",
            bytes.length);
    
        // Given a 4-byte array, this cast should always succeed.
        return (Inet4Address) bytesToInetAddress(bytes, null);
      }
    
      /**
       * Returns the {@link InetAddress} having the given string representation.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    - github.com/spaolacci/murmur3: [f09979e](https://github.com/spaolacci/murmur3/tree/f09979e)
    - github.com/spf13/afero: [v1.1.2](https://github.com/spf13/afero/tree/v1.1.2)
    - github.com/spf13/cast: [v1.3.0](https://github.com/spf13/cast/tree/v1.3.0)
    - github.com/spf13/jwalterweatherman: [v1.0.0](https://github.com/spf13/jwalterweatherman/tree/v1.0.0)
    - github.com/spf13/viper: [v1.7.0](https://github.com/spf13/viper/tree/v1.7.0)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    package okhttp3.internal.http2.hpackjson
    
    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top