Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for dotlines (0.48 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TFL {
    namespace {
    #define GEN_PASS_DEF_WHILEOUTLINEPASS
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    // This pass outlines the cond/body region of the TFL WhileOp into functions and
    // replaces the regions with calls to these outlined functions.
    class WhileOutlinePass : public impl::WhileOutlinePassBase<WhileOutlinePass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

            }
            return groupedOutputFixture;
        }
    
        private String normalize(LogContent output) {
            List<String> result = new ArrayList<>();
            List<String> lines = output.getLines();
            int i = 0;
            while (i < lines.size()) {
                String line = lines.get(i);
                if (line.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

        llvm::function_ref<bool(tf_device::ClusterOp, ElementsAttr)> filter = {});
    
    // Creates a pass that outlines regions of tf_device.cluster operations.
    std::unique_ptr<OperationPass<ModuleOp>> CreateClusterOutliningPass();
    
    // Creates a pass that outlines regions of tf_device.launch operations.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLaunchOutliningPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         *   superclasses (excluding static callables from super-interfaces), and classes declared directly in the [KaSymbolWithMembers]. This
         *   follows Kotlin's rules about static inheritance in Java classes, where static callables are propagated from superclasses, but
         *   nested classes are not.
         *
         * #### Kotlin Example
         *
         * ```kotlin
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top