Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for Returns (0.22 sec)

  1. src/image/geom.go

    	return r.Min.String() + "-" + r.Max.String()
    }
    
    // Dx returns r's width.
    func (r Rectangle) Dx() int {
    	return r.Max.X - r.Min.X
    }
    
    // Dy returns r's height.
    func (r Rectangle) Dy() int {
    	return r.Max.Y - r.Min.Y
    }
    
    // Size returns r's width and height.
    func (r Rectangle) Size() Point {
    	return Point{
    		r.Max.X - r.Min.X,
    		r.Max.Y - r.Min.Y,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/VisualCppPlatformToolChain.java

    public interface VisualCppPlatformToolChain extends NativePlatformToolChain {
        /**
         * Returns the settings to use for the C compiler.
         */
        CommandLineToolConfiguration getcCompiler();
    
        /**
         * Returns the settings to use for the C++ compiler.
         */
        CommandLineToolConfiguration getCppCompiler();
    
        /**
         * Returns the settings to use for the Windows resources compiler.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/validators.h

    // Returns true iff the given value is a bf16 tensor.
    inline bool TFTypeIsBFloat16Tensor(Value value) {
      auto tensorType = mlir::dyn_cast<TensorType>(value.getType());
      if (!tensorType) return false;
      return tensorType.getElementType().isBF16();
    }
    
    // Returns true iff the given value is a f16 tensor.
    inline bool TFTypeIsHalfTensor(Value value) {
      auto tensorType = mlir::dyn_cast<TensorType>(value.getType());
      if (!tensorType) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/net/netip/uint128.go

    	return uint128{u.hi | m.hi, u.lo | m.lo}
    }
    
    // not returns the bitwise NOT of u.
    func (u uint128) not() uint128 {
    	return uint128{^u.hi, ^u.lo}
    }
    
    // subOne returns u - 1.
    func (u uint128) subOne() uint128 {
    	lo, borrow := bits.Sub64(u.lo, 1, 0)
    	return uint128{u.hi - borrow, lo}
    }
    
    // addOne returns u + 1.
    func (u uint128) addOne() uint128 {
    	lo, carry := bits.Add64(u.lo, 1, 0)
    	return uint128{u.hi + carry, lo}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 21:28:44 UTC 2022
    - 2.2K bytes
    - Viewed (1)
  5. src/cmd/vendor/golang.org/x/text/language/coverage.go

    		return nil
    	}
    	return s.scripts()
    }
    
    func (s *coverage) Regions() []Region {
    	if s.regions == nil {
    		return nil
    	}
    	return s.regions()
    }
    
    // NewCoverage returns a Coverage for the given lists. It is typically used by
    // packages providing internationalization services to define their level of
    // coverage. A list may be of type []T or func() []T, where T is either Tag,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/Version.java

         */
        Long[] getNumericParts();
    
        /**
         * Returns the base version for this version, which removes any qualifiers. Generally this is the first '.' separated parts of this version.
         * e.g. 1.2.3-beta-4 returns 1.2.3, or 7.0.12beta5 returns 7.0.12.
         */
        Version getBaseVersion();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    // otherwise it returns a generic implementation.
    func new256() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_256)
    	}
    	return new256Generic()
    }
    
    // new384 returns an assembly implementation of SHA3-384 if available,
    // otherwise it returns a generic implementation.
    func new384() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_384)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/Module.java

        /**
         * Returns implementation + runtime.
         */
        ClassPath getClasspath();
    
        /**
         * Returns the modules required by this module.
         */
        Set<Module> getRequiredModules();
    
        /**
         * Returns the transitive closure of all modules required by this module, including the module itself.
         */
        Set<Module> getAllRequiredModules();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/reflectdata/helpers.go

    func mapRType(pos src.XPos, typ *types.Type) ir.Node {
    	return kindRType(pos, typ, types.TMAP)
    }
    
    // chanRType asserts that typ is a map type, and returns an expression
    // that yields the *runtime._type value representing typ.
    func chanRType(pos src.XPos, typ *types.Type) ir.Node {
    	return kindRType(pos, typ, types.TCHAN)
    }
    
    // sliceElemRType asserts that typ is a slice type, and returns an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. pkg/ptr/pointer.go

    	if t != nil {
    		return *t
    	}
    	return def
    }
    
    // NonEmptyOrDefault returns t if its non-empty, or else def.
    func NonEmptyOrDefault[T comparable](t T, def T) T {
    	var empty T
    	if t != empty {
    		return t
    	}
    	return def
    }
    
    // Empty returns an empty T type
    func Empty[T any]() T {
    	var empty T
    	return empty
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 07 14:56:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top