Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for checkcast (0.86 sec)

  1. CONTRIBUTING.md

    # Contributing guidelines
    
    ## Pull Request Checklist
    
    Before sending your pull requests, make sure you do the following:
    
    -   Read the [contributing guidelines](CONTRIBUTING.md).
    -   Read the [Code of Conduct](CODE_OF_CONDUCT.md).
    -   Ensure you have signed the
        [Contributor License Agreement (CLA)](https://cla.developers.google.com/).
    -   Check if your changes are consistent with the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:45:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

                throw new IllegalArgumentException("Expecting collection with single element, got multiple.");
            }
            return element;
        }
    
        public static <T> Collection<? extends T> checkedCast(Class<T> type, Collection<?> input) {
            for (Object o : input) {
                castNullable(type, o);
            }
            return uncheckedNonnullCast(input);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

       * @throws IllegalArgumentException if {@code value} is greater than {@link Character#MAX_VALUE}
       *     or less than {@link Character#MIN_VALUE}
       */
      public static char checkedCast(long value) {
        char result = (char) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code char} nearest in value to {@code value}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.java

       * @throws IllegalArgumentException if {@code value} is greater than {@link Character#MAX_VALUE}
       *     or less than {@link Character#MIN_VALUE}
       */
      public static char checkedCast(long value) {
        char result = (char) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code char} nearest in value to {@code value}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

                throw new IllegalArgumentException("Expecting collection with single element, got multiple.");
            }
            return element;
        }
    
        public static <T> Collection<? extends T> checkedCast(Class<T> type, Collection<?> input) {
            logDeprecation(7);
            for (Object o : input) {
                castNullable(type, o);
            }
            return uncheckedNonnullCast(input);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    		// referenced by name. Also no need to do overwriting
    		// check, as same hash indicates same content.
    		var checkHash func() (symAndSize, bool)
    		var addToHashMap func(symAndSize)
    		var h64 uint64        // only used for hashed64Def
    		var h *goobj.HashType // only used for hashedDef
    		if kind == hashed64Def {
    			checkHash = func() (symAndSize, bool) {
    				h64 = r.Hash64(li - uint32(r.ndef))
    				s, existed := st.hashed64Syms[h64]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code short} nearest in value to {@code value}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code short} nearest in value to {@code value}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Ints.java

       * @throws IllegalArgumentException if {@code value} is greater than {@link Integer#MAX_VALUE} or
       *     less than {@link Integer#MIN_VALUE}
       */
      public static int checkedCast(long value) {
        int result = (int) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code int} nearest in value to {@code value}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. src/runtime/asm_s390x.s

    	// moduledata linked list.
    	MOVD	runtime·lastmoduledatap(SB), R1
    	MOVD	R2, moduledata_next(R1)
    	MOVD	R2, runtime·lastmoduledatap(SB)
    
    	// Restore R6-R15.
    	LMG	48(R15), R6, R15
    	RET
    
    TEXT ·checkASM(SB),NOSPLIT,$0-1
    	MOVB	$1, ret+0(FP)
    	RET
    
    // gcWriteBarrier informs the GC about heap pointer writes.
    //
    // gcWriteBarrier does NOT follow the Go ABI. It accepts the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top