Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for Returns (0.13 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. src/net/interface_stub.go

    //go:build js || wasip1
    
    package net
    
    // If the ifindex is zero, interfaceTable returns mappings of all
    // network interfaces. Otherwise it returns a mapping of a specific
    // interface.
    func interfaceTable(ifindex int) ([]Interface, error) {
    	return nil, nil
    }
    
    // If the ifi is nil, interfaceAddrTable returns addresses for all
    // network interfaces. Otherwise it returns addresses for a specific
    // interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 814 bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/FileTreeElement.java

         *
         * @return The path. Never returns null.
         */
        String getPath();
    
        /**
         * Returns the path of this file, relative to the root of the containing file tree.
         *
         * @return The path. Never returns null.
         */
        RelativePath getRelativePath();
    
        /**
         * Returns the UNIX-style file permission mode of this file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/op_or_arg_name_mapper.h

      // Returns true if the name is unique. A derived class can override it if the
      // class maintains uniqueness in a different scope.
      virtual bool IsUnique(llvm::StringRef name);
    
      // Returns a constant view of the underlying map.
      const llvm::DenseMap<OpOrVal, absl::string_view>& GetMap() const {
        return op_or_val_to_name_;
      }
    
      // Returns the separator used before uniqueing suffix.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. src/os/dir.go

    //
    // If n > 0, ReadDir returns at most n DirEntry records.
    // In this case, if ReadDir returns an empty slice, it will return an error explaining why.
    // At the end of a directory, the error is [io.EOF].
    //
    // If n <= 0, ReadDir returns all the DirEntry records remaining in the directory.
    // When it succeeds, it returns a nil error (not io.EOF).
    func (f *File) ReadDir(n int) ([]DirEntry, error) {
    	if f == nil {
    		return nil, ErrInvalid
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. 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)
  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. pkg/apis/core/helper/helpers.go

    // requested, it returns "".
    func GetPersistentVolumeClaimClass(claim *core.PersistentVolumeClaim) string {
    	// Use beta annotation first
    	if class, found := claim.Annotations[core.BetaStorageClassAnnotation]; found {
    		return class
    	}
    
    	if claim.Spec.StorageClassName != nil {
    		return *claim.Spec.StorageClassName
    	}
    
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top