Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for boxes (0.04 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // APIs for generically dealing with op attributes (e.g. when forwarding them
    // through custom device implementations).
    //
    // TODO(allenl): Currently these are black boxes, but we should have some way to
    // inspect values. This would let people e.g. copy over most attributes and then
    // modify some based on their values.
    
    // A reference to an op's name -> attribute mapping
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ScalarTypesInManagedModelIntegrationTest extends AbstractIntegrationSpec {
    
        def "values of primitive types and boxed primitive types are widened as usual when using groovy"() {
            when:
            buildScript '''
                @Managed
                interface PrimitiveTypes {
                    Long getLongPropertyFromInt()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
        // With a boxed predicate, no overloads can be selected in phase 1
        // ambiguous without the call to .booleanValue to unbox the Boolean
        Preconditions.checkState(boxedBoolean.booleanValue(), "", 1);
        // ambiguous without the cast to Object because the boxed predicate prevents any overload from
        // being selected in phase 1
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java

        }
    
        private static class CharacterConverter extends CharSequenceConverter<Character> {
            private final Class<Character> target;
    
            public CharacterConverter(Class<Character> boxed, Class<Character> target) {
                super(boxed);
                this.target = target;
            }
    
            @Override
            public void convert(String notation, NotationConvertResult<? super Character> result) throws TypeConversionException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

                    // If no attribute precedence has been set anywhere, we can just iterate in order
                    return new PrecedenceResult(IntStream.range(0, requested.size()).boxed().collect(Collectors.toList()));
                } else {
                    // Populate requested attribute -> position in requested attribute list
                    final Map<String, Integer> remaining = new LinkedHashMap<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Streams.java

       */
      public static OptionalInt findLast(IntStream stream) {
        // findLast(Stream) does some allocation, so we might as well box some more
        java.util.Optional<Integer> boxedLast = findLast(stream.boxed());
        return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty());
      }
    
      /**
       * Returns the last element of the specified stream, or {@link OptionalLong#empty} if the stream
       * is empty.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	retStr := "{"
    	retStr = retStr + expirationStr + ","
    	retStr += conditionStr
    	retStr += "}"
    
    	return []byte(retStr)
    }
    
    // newPostPolicyBytesV4 - creates a bare bones postpolicy string with key and bucket matches.
    func newPostPolicyBytesV4(credential, bucketName, objectKey string, expiration time.Time) []byte {
    	t := UTCNow()
    	// Add the expiration date.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectSpliterators.java

        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with a primitive spliterator output type.
       *
       * @param <InElementT> the element type of the input spliterator
       * @param <OutElementT> the (boxed) element type of the output spliterators
       * @param <OutConsumerT> the specialized consumer type for the primitive output type
       * @param <OutSpliteratorT> the primitive spliterator type associated with {@code OutElementT}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. src/internal/syscall/windows/zsyscall_windows.go

    // Errno values.
    const (
    	errnoERROR_IO_PENDING = 997
    )
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
    	errERROR_EINVAL     error = syscall.EINVAL
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    		return errERROR_EINVAL
    	case errnoERROR_IO_PENDING:
    		return errERROR_IO_PENDING
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/syscall/tables_js.go

    }
    
    // Do the interface allocations only once for common
    // Errno values.
    var (
    	errEAGAIN error = EAGAIN
    	errEINVAL error = EINVAL
    	errENOENT error = ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e Errno) error {
    	switch e {
    	case 0:
    		return nil
    	case EAGAIN:
    		return errEAGAIN
    	case EINVAL:
    		return errEINVAL
    	case ENOENT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 19.2K bytes
    - Viewed (0)
Back to top