Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 538 for cLower (0.32 sec)

  1. src/testing/newcover.go

    var cover2 struct {
    	mode        string
    	tearDown    func(coverprofile string, gocoverdir string) (string, error)
    	snapshotcov func() float64
    }
    
    // registerCover2 is invoked during "go test -cover" runs.
    // It is used to record a 'tear down' function
    // (to be called when the test is complete) and the coverage mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/cover/cfg_test.go

    	}
    }
    
    func TestCoverOnPackageWithNoTestFiles(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    
    	// For packages with no test files, the new "go test -cover"
    	// strategy is to run cmd/cover on the package in a special
    	// "EmitMetaFile" mode. When running in this mode, cmd/cover walks
    	// the package doing instrumentation, but when finished, instead of
    	// writing out instrumented source files, it directly emits a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. testing/performance/docs/performance-bisect.md

            def slower = checkBaselineVersion({ it.fasterThan(current) }, { it.getSpeedStatsAgainst(displayName, current) })
    //        def larger = checkBaselineVersion({ it.usesLessMemoryThan(current) }, { it.getMemoryStatsAgainst(displayName, current) })
    //        if (slower && larger) {
    //            throw new AssertionError("$slower\n$larger")
    //        }
            if (slower) {
                throw new AssertionError(slower)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
       * has to explicitly reverse the order of the bytes as it packs them into the result which makes
       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestExecutionTest.groovy

            result.assertCurrentVersionHasNotRegressed()
    
            then:
            AssertionError e = thrown()
            e.message.startsWith("Speed ${result.displayName}: we're slower than 1.0 with 99% confidence.")
            e.message.contains('Difference: 11 ms slower (11 ms), 11.00%')
            !e.message.contains('1.3')
        }
    
        def "can lookup the results for a baseline version"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    			}
    			coverFile = strings.TrimSuffix(coverFile, ".go") + ".cover.go"
    			if cfg.Experiment.CoverageRedesign {
    				infiles = append(infiles, sourceFile)
    				outfiles = append(outfiles, coverFile)
    			} else {
    				cover := p.Internal.CoverVars[key]
    				if cover == nil {
    					continue // Not covering this file.
    				}
    				if err := b.cover(a, coverFile, sourceFile, cover.Var); err != nil {
    					return err
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    		}
    	}
    	if closer, ok := w.Writer.(io.Closer); ok {
    		return closer.Close()
    	}
    	return nil
    }
    
    // HasWritten returns true if at least one write operation was performed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_sync_atomic_import.txt

    [short] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    [!GOEXPERIMENT:coverageredesign] skip
    
    go test -short -cover -covermode=atomic -coverpkg=coverdep/p1 coverdep
    
    # In addition to the above, test to make sure there is no funny
    # business if we try "go test -cover" in atomic mode targeting
    # sync/atomic itself (see #57445). Just a short test run is needed
    # since we're mainly interested in making sure the test builds and can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 1011 bytes
    - Viewed (0)
Back to top