Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for dotlines (0.41 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. misc/ios/detect.go

    	}
    }
    
    func detectMobileProvisionFiles(udids [][]byte) []string {
    	cmd := exec.Command("mdfind", "-name", ".mobileprovision")
    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. 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)
  4. docs/fr/docs/deployment/https.md

    * Le cryptage de la connexion se fait au niveau du protocole TCP.
        * C'est une couche en dessous de HTTP.
        * Donc, le certificat et le traitement du cryptage sont faits avant HTTP.
    * TCP ne connaît pas les "domaines", seulement les adresses IP.
        * L'information sur le domaine spécifique demandé se trouve dans les données HTTP.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Oct 31 17:45:30 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. cmd/kubeadm/app/cmd/util/documentation.go

    	if trimmedText == "" {
    		return ""
    	}
    
    	const indent = `  `
    	inLines := strings.Split(trimmedText, "\n")
    	outLines := make([]string, 0, len(inLines))
    
    	for _, line := range inLines {
    		outLines = append(outLines, indent+strings.TrimSpace(line))
    	}
    
    	return strings.Join(outLines, "\n")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	if err != nil {
    		t.Fatalf("opening %s: %v", gopath, err)
    	}
    	golines := strings.Split(string(content), "\n")
    
    	// Preserve copyright.
    	ues.newgolines = append(ues.newgolines, golines[:4]...)
    	if !strings.HasPrefix(golines[0], "// Copyright") {
    		t.Fatalf("missing copyright from existing testcase")
    	}
    	golines = golines[4:]
    
    	clore := regexp.MustCompile(`.+\.func\d+[\.\d]*$`)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top