Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,106 for writes (0.13 sec)

  1. tensorflow/cc/saved_model/reader.h

        const std::unordered_set<string>& tags, SavedModel* saved_model_proto);
    
    // Reads the SavedModel proto from saved_model.pb(txt) in the given directory,
    // finds the MetaGraphDef that matches the given set of tags and writes it to
    // the `meta_graph_def` parameter. Returns a failure status when the SavedModel
    // file does not exist or no MetaGraphDef matches the tags.
    Status ReadMetaGraphDefFromSavedModel(absl::string_view export_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    func writeKubeConfigFromSpec(out io.Writer, spec *kubeConfigSpec, clustername string) error {
    
    	// builds the KubeConfig object
    	config, err := buildKubeConfigFromSpec(spec, clustername)
    	if err != nil {
    		return err
    	}
    
    	// writes the kubeconfig to disk if it not exists
    	configBytes, err := clientcmd.Write(*config)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/shake.go

    	return newCShake(N, S, rate256, 64, dsbyteCShake)
    }
    
    // ShakeSum128 writes an arbitrary-length digest of data into hash.
    func ShakeSum128(hash, data []byte) {
    	h := NewShake128()
    	h.Write(data)
    	h.Read(hash)
    }
    
    // ShakeSum256 writes an arbitrary-length digest of data into hash.
    func ShakeSum256(hash, data []byte) {
    	h := NewShake256()
    	h.Write(data)
    	h.Read(hash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/internal/coverage/encodecounter/encode.go

    // coverage counter data.
    type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error
    
    // Write writes the contents of the count-data file to the writer
    // previously supplied to NewCoverageDataWriter. Returns an error
    // if something went wrong somewhere with the write.
    func (cfw *CoverageDataWriter) Write(metaFileHash [16]byte, args map[string]string, visitor CounterVisitor) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. lib/time/mkzip.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Mkzip writes a zoneinfo.zip with the content of the current directory
    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_device_ops.cc

      // users of it we know none can modify it so this is always safe (even in
      // esoteric cases where the same tensor is used to initialize multiple
      // variables or the tensor is a constant this is safe, as future writes will
      // trigger copies).
      OP_REQUIRES_OK(context, LookupOrCreateResource<Var>(
                                  context, HandleFromInput(context, 0), &variable,
                                  [this, &value](Var** ptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

    import java.lang.reflect.InvocationTargetException
    
    
    /**
     * Writes a bean property.
     *
     * A property can only be written when there's a suitable [Codec] for its [value].
     */
    suspend fun WriteContext.writeNextProperty(name: String, value: Any?, kind: PropertyKind) {
        withPropertyTrace(kind, name) {
            try {
                write(value)
            } catch (error: Exception) {
                onError(error) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/encoding/json/stream.go

    			return true
    		}
    	}
    	return false
    }
    
    // An Encoder writes JSON values to an output stream.
    type Encoder struct {
    	w          io.Writer
    	err        error
    	escapeHTML bool
    
    	indentBuf    []byte
    	indentPrefix string
    	indentValue  string
    }
    
    // NewEncoder returns a new encoder that writes to w.
    func NewEncoder(w io.Writer) *Encoder {
    	return &Encoder{w: w, escapeHTML: true}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. src/internal/trace/version/version.go

    	}
    	if !v.Valid() {
    		return v, fmt.Errorf("unknown or unsupported trace version go 1.%d", v)
    	}
    	return v, nil
    }
    
    // WriteHeader writes a header for a trace version v to w.
    func WriteHeader(w io.Writer, v Version) (int, error) {
    	return fmt.Fprintf(w, headerFmt, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DecompressionCoordinator.java

     * <p>
     * For a given build tree, only a single process is allowed write access to extract archives at a time.
     *
     * Multiple build processes are allowed to extract archives concurrently as long as they use different build trees (in other words, different root directories).
     * <p>
     * Within a process, only one thread is allowed write access to a given expanded directory. This is to avoid concurrent writes
     * to the same expanded directory.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top