Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 322 for castTo (0.09 seconds)

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

            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super R> action) {
            if (fromSpliterator.tryAdvance(this)) {
              try {
                // The cast is safe because tryAdvance puts a T into `holder`.
                action.accept(function.apply(uncheckedCastNullableTToT(holder), index++));
                return true;
              } finally {
                holder = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  2. CONTRIBUTING.md

    at a higher level e.g. at the method or even class level. Use your judgement.
    
    There are also cases where the compiler simply refuses to accept an assignment
    or cast of any kind, because it lacks the information to know that the types are
    OK. In such cases, you can use
    the [`Types.forciblyCast`](libs/core/src/main/java/org/elasticsearch/core/Types.java)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // https://www.iana.org/domains/root/db/case.html
    case
    
    // cash : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/cash.html
    cash
    
    // casino : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/casino.html
    casino
    
    // catering : Binky Moon, LLC
    // https://www.iana.org/domains/root/db/catering.html
    catering
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 309.7K bytes
    - Click Count (1)
  4. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    care
    career
    careers
    cargo.aero
    carrara-massa.it
    carraramassa.it
    carrd.co
    cars
    casa
    casacam.net
    case
    caserta.it
    cash
    casino
    casino.hu
    cat
    catania.it
    catanzaro.it
    catering
    catering.aero
    catfood.jp
    catholic
    catholic.edu.au
    caxias.br
    cb.it
    cba
    cbg.ru
    cbn
    cbre
    cc
    cc.ak.us
    cc.al.us
    cc.ar.us
    cc.as.us
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 129.6K bytes
    - Click Count (2)
  5. guava/src/com/google/common/collect/ImmutableMap.java

           * ...> or ImmutableEnumMap<K, ...> along the way because our own <K> isn't <K extends
           * Enum<K>>.
           *
           * We are also performing a covariant cast, potentially from ImmutableMap<K, Sub> to
           * ImmutableMap<K, Super>. That is safe because no one can add elements to the map.
           */
          @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  6. lib/fips140/v1.26.0.zip

    failfipscast is a GODEBUG key allowing simulation of a CAST or PCT failure, // as required during FIPS 140-3 functional testing. The value is the whole name // of the target CAST or PCT. var failfipscast = godebug.Value("#failfipscast") // CAST runs the named Cryptographic Algorithm Self-Test (if operated in FIPS // mode) and aborts the program (stopping the module input/output and entering // the "error state") if the self-test fails. // // CASTs are mandatory self-checks that must be performed by...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

          @Override
          void visitGenericArrayType(GenericArrayType t) {
            builder.add(Types.getArrayClass(of(t.getGenericComponentType()).getRawType()));
          }
        }.visit(runtimeType);
        // Cast from ImmutableSet<Class<?>> to ImmutableSet<Class<? super T>>
        @SuppressWarnings({"unchecked", "rawtypes"})
        ImmutableSet<Class<? super T>> result = (ImmutableSet) builder.build();
        return result;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/LongMath.java

       * @see <a href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-15.html#jls-15.17.3">
       *     Remainder Operator</a>
       */
      @GwtIncompatible // TODO
      public static int mod(long x, int m) {
        // Cast is safe because the result is guaranteed in the range [0, m)
        return (int) mod(x, (long) m);
      }
    
      /**
       * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x %
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  10. lib/fips140/v1.0.0-c2097c7c.zip

    failfipscast is a GODEBUG key allowing simulation of a CAST or PCT failure, // as required during FIPS 140-3 functional testing. The value is the whole name // of the target CAST or PCT. var failfipscast = godebug.Value("#failfipscast") // CAST runs the named Cryptographic Algorithm Self-Test (if operated in FIPS // mode) and aborts the program (stopping the module input/output and entering // the "error state") if the self-test fails. // // CASTs are mandatory self-checks that must be performed by...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
Back to Top