Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for Written (0.14 sec)

  1. internal/ioutil/ioutil_test.go

    	defer ODirectPoolSmall.Put(bufp)
    
    	written, err := CopyAligned(f, io.LimitReader(r, 5), *bufp, r.Size(), f)
    	if !errors.Is(err, io.ErrUnexpectedEOF) {
    		t.Errorf("Expected io.ErrUnexpectedEOF, but got %v", err)
    	}
    	if written != 5 {
    		t.Errorf("Expected written to be '5', but got %v", written)
    	}
    
    	f.Seek(0, io.SeekStart)
    	r.Seek(0, io.SeekStart)
    
    	written, err = CopyAligned(f, r, *bufp, r.Size(), f)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    			nw += int64(un)
    		}
    
    		if nw > 0 {
    			written += nw
    		}
    
    		if err != nil {
    			return written, err
    		}
    
    		if nw != int64(len(buf)) {
    			return written, io.ErrShortWrite
    		}
    
    		if totalSize > 0 && written == totalSize {
    			// we have written the entire stream, return right here.
    			return written, nil
    		}
    
    		if eof {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      // corresponding callOp, propagate the potentially written decision to the
      // callOp's operands, if the corresponding region's arguments are potentially
      // written resources.
      void PropagatePotentiallyWrittenUpFromCallee(
          Region& region, Operation::operand_range propagate_to);
    
      // Marks 'resource' as written.
      void SetPotentiallyWritten(Value resource);
    
      struct ResourceInfo {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDevelocityPluginIntegrationTest.groovy

                withTotalProblemsCount(0)
            }
            postBuildOutputContains 'Build scan written to'
    
            when:
            configurationCacheRun 'jar', '--scan', '-Dscan.dump'
    
            then:
            configurationCache.assertStateLoaded()
            postBuildOutputContains 'Build scan written to'
        }
    
        static String getDvConventionsConfig() {
            """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/AbstractReportTask.java

        protected abstract ReportRenderer getRenderer();
    
        protected abstract void generate(Project project) throws IOException;
    
        /**
         * Returns the file which the report will be written to. When set to {@code null}, the report is written to {@code System.out}.
         * Defaults to {@code null}.
         *
         * @return The output file. May be null.
         */
        @Nullable
        @Optional
        @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

                .build().output.contains("Build scan written to")
    
            when:
            createTest(file("project1"), "MyTest1")
            createTest(file("project2"), "MyTest1")
    
            then:
            with(scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
                .build()) {
                output.contains("Build scan written to")
                output.contains("Reusing configuration cache.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

    import org.gradle.internal.configuration.problems.PropertyKind
    import java.io.IOException
    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)
    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/crypto/tls/handshake_test.go

    	// TLS always starts with a client to server flow.
    	clientToServer := true
    	var written int64
    	for i, flow := range r.flows {
    		source, dest := "client", "server"
    		if !clientToServer {
    			source, dest = dest, source
    		}
    		n, err := fmt.Fprintf(w, ">>> Flow %d (%s to %s)\n", i+1, source, dest)
    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    		dumper := hex.Dumper(w)
    		n, err = dumper.Write(flow)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/ReportGenerator.java

        }
    
        protected BuildClientMetaData getClientMetaData() {
            return buildClientMetaData;
        }
    
        /**
         * Returns the file which the report will be written to. When set to {@code null}, the report is written to {@code System.out}.
         *
         * @return The output file. May be null.
         */
        @Nullable
        protected File getOutputFile() {
            return outputFile;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/runtime/coverage/coverage.go

    // error will be returned if the operation can't be completed
    // successfully (for example, if the currently running program was not
    // built with "-cover", or if the directory does not exist). The
    // counter data written will be a snapshot taken at the point of the
    // call.
    func WriteCountersDir(dir string) error {
    	return cfile.WriteCountersDir(dir)
    }
    
    // WriteCounters writes coverage counter-data content for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top