Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,136 for writes (0.24 sec)

  1. tensorflow/compiler/mlir/lite/utils/validators.h

      return !attr || attr.getValue() == "NDHWC";
    }
    
    // Returns true if the given `op`
    //   * has an attribute with the given `name`,
    //   * and the attribute is an integer list of the form [1, X, Y, 1],
    // and writes X, Y as 32-bit integer attribute to `x`, `y`.
    bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x,
                         IntegerAttr *y);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/image_format/internal_api.h

                                SavedModel* saved_model_proto);
    
    // Writes the SavedModel proto to a file or to string. If the proto is < the
    // protobuf maximum size, then it will be serialized as a `.pb` proto binary.
    // When larger than the maximum size, the SavedModel proto is destructively
    // separated into chunks and written to
    // `.cpb` (chunked proto).
    //
    // Write SavedModel to {file_prefix}{.pb|.cpb}.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 30 21:50:27 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/mime/encodedword.go

    			buf.WriteByte(upperhex[b&0x0f])
    		}
    	}
    }
    
    // openWord writes the beginning of an encoded-word into buf.
    func (e WordEncoder) openWord(buf *strings.Builder, charset string) {
    	buf.WriteString("=?")
    	buf.WriteString(charset)
    	buf.WriteByte('?')
    	buf.WriteByte(byte(e))
    	buf.WriteByte('?')
    }
    
    // closeWord writes the end of an encoded-word into buf.
    func closeWord(buf *strings.Builder) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

            lockFileReaderWriter = new LockFileReaderWriter(resolver, context, lockFile, listener)
        }
    
        def 'writes a unique lock file'() {
            when:
            lockDir.deleteDir()
            lockFileReaderWriter.writeUniqueLockfile([a: ['foo', 'bar'], b: ['foo'], c: []])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/context.go

    	}
    	return true
    }
    
    // writeString writes the given string to dst.
    func (c *context) writeString(s string) bool {
    	if len(c.dst)-c.pDst < len(s) {
    		c.err = transform.ErrShortDst
    		return false
    	}
    	// This loop is faster than using copy.
    	for i := 0; i < len(s); i++ {
    		c.dst[c.pDst] = s[i]
    		c.pDst++
    	}
    	return true
    }
    
    // copy writes the current rune to dst.
    func (c *context) copy() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/process/ArgWriterTest.groovy

        final StringWriter writer = new StringWriter()
        final PrintWriter printWriter = new PrintWriter(writer, true)
        final ArgWriter argWriter = ArgWriter.unixStyle(printWriter)
    
        def "writes single argument to line"() {
            when:
            argWriter.args("-nologo")
    
            then:
            writer.toString() == toPlatformLineSeparators("-nologo\n")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. internal/ringbuffer/ring_buffer.go

    	r.isFull = false
    	return b, r.readErr(true)
    }
    
    // Write writes len(p) bytes from p to the underlying buf.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // If blocking n < len(p) will be returned only if an error occurred.
    // Write returns a non-nil error if it returns n < len(p).
    // Write will not modify the slice data, even temporarily.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SourceElement.java

         */
        public abstract List<SourceFile> getFiles();
    
        /**
         * Returns the source set name to write the source into, using the Gradle convention for source layout.
         */
        public String getSourceSetName() {
            return "main";
        }
    
        /**
         * Writes the source files of this element to the given project, using the Gradle convention for source layout.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

      // XLA clusters force all reads to happen before all writes.  Moreover the set
      // of reads are executed as one atomic operation, and the set of writes are as
      // another atomic operation.  This means we can faithfully represent the
      // following edges: Read->*, *->Write.
    
      return from == XlaResourceOpKind::kRead || to == XlaResourceOpKind::kWrite;
    }
    
    using ResourceOp = std::pair<int, XlaResourceOpKind>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/internal/trace/raw/textwriter.go

    type TextWriter struct {
    	w io.Writer
    	v version.Version
    }
    
    // NewTextWriter creates a new write for the trace text format.
    func NewTextWriter(w io.Writer, v version.Version) (*TextWriter, error) {
    	_, err := fmt.Fprintf(w, "Trace Go1.%d\n", v)
    	if err != nil {
    		return nil, err
    	}
    	return &TextWriter{w: w, v: v}, nil
    }
    
    // WriteEvent writes a single event to the stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 917 bytes
    - Viewed (0)
Back to top