Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for dotlines (0.2 sec)

  1. src/net/textproto/reader_test.go

    	if code != 0 || msg != "" || err != io.EOF {
    		t.Fatalf("EOF: %d, %s, %v", code, msg, err)
    	}
    }
    
    func TestReadDotLines(t *testing.T) {
    	r := reader("dotlines\r\n.foo\r\n..bar\n...baz\nquux\r\n\r\n.\r\nanother\n")
    	s, err := r.ReadDotLines()
    	want := []string{"dotlines", "foo", ".bar", "..baz", "quux", ""}
    	if !reflect.DeepEqual(s, want) || err != nil {
    		t.Fatalf("ReadDotLines: %v, %v", s, err)
    	}
    
    	s, err = r.ReadDotLines()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/support.go

    	// TODO(mdempsky): Make use of column.
    
    	// Since we don't know the set of needed file positions, we reserve
    	// maxlines positions per file. We delay calling token.File.SetLines until
    	// all positions have been calculated (by way of fakeFileSet.setLines), so
    	// that we can avoid setting unnecessary lines. See also golang/go#46586.
    	f := s.files[file]
    	if f == nil {
    		f = &fileInfo{file: s.fset.AddFile(file, -1, maxlines)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

            }
            waitingForChangesMessageAppears()
    
            when:
            def logLengthBeforeOpeneningGatekeeper = logLines.size()
            gatekeeper.open()
            // Wait to make sure the build is not triggered
            Thread.sleep(500)
            then:
            logLines.size() == logLengthBeforeOpeneningGatekeeper
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. pkg/log/config_test.go

    		content, err := os.ReadFile(file)
    		if err != nil {
    			t.Errorf("Got failure '%v', expecting success", err)
    		}
    
    		rotLines := strings.Split(string(content), "\n")
    		if !strings.Contains(rotLines[0], "HELLO") {
    			t.Errorf("Expecting for first line of log to contain HELLO, got %s", rotLines[0])
    		}
    	})
    
    	if !strings.Contains(stdoutLines[0], "HELLO") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

      builder->create<func::ReturnOp>(cluster_return_op.getLoc(),
                                      cluster_return_op.getOperands());
      cluster_return_op.erase();
    }
    
    // Builds a function that outlines region attached to cluster_op or launch_op,
    // and inserts built function into given module.
    template <typename ClusterOrLaunchOp>
    func::FuncOp BuildFunction(llvm::ArrayRef<Value> live_ins, ClusterOrLaunchOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.td

    ==============================================================================*/
    
    include "mlir/Pass/PassBase.td"
    
    def OutlineCompositesPass: Pass<"outline-composites", "func::FuncOp"> {
      let summary = "Outlines specific patterns into composites.";
      let description = [{
        Outline specific patterns into composites. Specific patterns can be any
        sub-DAG within a single `Block*`. The signature of the new composite
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/go/token/position_test.go

    		}
    
    		// add lines with SetLines and verify all positions
    		if ok := f.SetLines(test.lines); !ok {
    			t.Errorf("%s: SetLines failed", f.Name())
    		}
    		if f.LineCount() != len(test.lines) {
    			t.Errorf("%s, SetLines: got line count %d; want %d", f.Name(), f.LineCount(), len(test.lines))
    		}
    		if !reflect.DeepEqual(f.Lines(), test.lines) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

            if (pos >= 0) {
                text = text.substring(0, pos);
            }
            return text;
        }
    
        public void validate(String output, String displayName) {
            List<String> lines = getLines(output);
            int i = 0;
            boolean insideVariantDescriptionBlock = false;
            boolean insideKotlinCompilerFlakyStacktrace = false;
            boolean sawVmPluginLoadFailure = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/go/token/position.go

    // An empty file has an empty line offset table.
    // Each line offset must be larger than the offset for the previous line
    // and smaller than the file size; otherwise SetLines fails and returns
    // false.
    // Callers must not mutate the provided slice after SetLines returns.
    func (f *File) SetLines(lines []int) bool {
    	// verify validity of lines table
    	size := f.size
    	for i, offset := range lines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. ReadMe.md

     * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin)
    
    ## Kotlin Multiplatform capabilities
    
    Support for multiplatform programming is one of Kotlin’s key benefits. It reduces time spent writing and maintaining the same code for [different platforms](https://kotlinlang.org/docs/reference/mpp-supported-platforms.html) while retaining the flexibility and benefits of native programming.
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 11 14:28:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top