Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for returns_ (0.32 sec)

  1. src/cmd/vendor/golang.org/x/term/term.go

    type State struct {
    	state
    }
    
    // IsTerminal returns whether the given file descriptor is a terminal.
    func IsTerminal(fd int) bool {
    	return isTerminal(fd)
    }
    
    // MakeRaw puts the terminal connected to the given file descriptor into raw
    // mode and returns the previous state of the terminal so that it can be
    // restored.
    func MakeRaw(fd int) (*State, error) {
    	return makeRaw(fd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java

        File getFile();
    
        /**
         * Returns the charset use to encode the file containing the resource's content, as returned by {@link #getFile()}.
         *
         * @return The charset. Returns null when this resource is not available as a file.
         */
        @Nullable
        Charset getCharset();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    type dataFileInfo struct {
    	f dataFile
    }
    
    func (fi dataFileInfo) Name() string       { return path.Base(fi.f.name) }
    func (fi dataFileInfo) Size() int64        { return int64(len(fi.f.data)) }
    func (fi dataFileInfo) Mode() os.FileMode  { return 0644 }
    func (fi dataFileInfo) ModTime() time.Time { return time.Time{} }
    func (fi dataFileInfo) IsDir() bool        { return false }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Lists.java

          checkElementIndex(index, size()); // for GWT
          return sequence.charAt(index);
        }
    
        @Override
        public int size() {
          return sequence.length();
        }
      }
    
      /**
       * Returns a reversed view of the specified list. For example, {@code
       * Lists.reverse(Arrays.asList(1, 2, 3))} returns a list containing {@code 3, 2, 1}. The returned
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go

    		if err != nil {
    			// If error retrieving Namespace spec, propagate error.
    			return err
    		}
    		return supportsQueryParamV3(namespaceSpec, namespaceGVK, v.queryParam)
    	}
    	return NewParamUnsupportedError(gvk, v.queryParam)
    }
    
    // hasGVKExtensionV3 returns true if the passed OpenAPI extensions map contains
    // the passed GVK; false otherwise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

      void runOnOperation() override;
    };
    
    // Finds op that created a given value. If the value is a BlockArgument, this
    // returns the owner of the Block.
    Operation* GetOpOfValue(Value value) {
      if (auto block_arg = mlir::dyn_cast<BlockArgument>(value))
        return block_arg.getOwner()->getParentOp();
    
      return value.getDefiningOp();
    }
    
    void TPUAnnotateDynamicShapeInputsPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. pkg/kubelet/util/ioutils/ioutils.go

    type LimitedWriter struct {
    	W io.Writer // underlying writer
    	N int64     // max bytes remaining
    }
    
    func (l *LimitedWriter) Write(p []byte) (n int, err error) {
    	if l.N <= 0 {
    		return 0, io.ErrShortWrite
    	}
    	truncated := false
    	if int64(len(p)) > l.N {
    		p = p[0:l.N]
    		truncated = true
    	}
    	n, err = l.W.Write(p)
    	l.N -= int64(n)
    	if err == nil && truncated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 12:00:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h

    // of `tsl::Env` and returns its path. Returns an InternalError status if
    // failed.
    absl::StatusOr<std::string> CreateTmpDir(tsl::Env* env);
    
    // Creates a temporary directory and returns its path. Returns an InternalError
    // status if failed. The file system used will be the default environment
    // returned by `tsl::Env::Default`.
    absl::StatusOr<std::string> CreateTmpDir();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) {
        return new InPredicate<>(target);
      }
    
      /**
       * Returns the composition of a function and a predicate. For every {@code x}, the generated
       * predicate returns {@code predicate(function(x))}.
       *
       * @return the composition of the provided function and predicate
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
       * container. This method may return the original list unchanged, the original list modified in
       * place, or a different list.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top