Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Cline (0.15 sec)

  1. src/bufio/bufio_test.go

    	}
    	data = data[len(line):]
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || !bytes.Equal(line, data[:minReadBufferSize/2]) || err != nil {
    		t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err)
    	}
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || err == nil {
    		t.Errorf("expected no more lines: %x %s", line, err)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    	<preamble>
    	#line 1 "not-declared"
    	void __cgo_f_1_1(void) { __typeof__(foo) *__cgo_undefined__1; }
    	#line 1 "not-type"
    	void __cgo_f_1_2(void) { foo *__cgo_undefined__2; }
    	#line 1 "not-int-const"
    	void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (foo)*1 }; }
    	#line 1 "not-num-const"
    	void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (foo); }
    	#line 1 "not-str-lit"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    				[false, 4],
    				[globalThis, 5],
    				[this, 6],
    			]);
    			this._idPool = [];   // unused ids that have been garbage collected
    			this.exited = false; // whether the Go program has exited
    
    			// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  5. doc/go1.17_spec.html

    <p>
    Given the declarations
    </p>
    <pre>
    type Point3D struct { x, y, z float64 }
    type Line struct { p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                            // zero value for Point3D
    line := Line{origin, Point3D{y: -4, z: 12.3}}  // zero value for line.q.x
    </pre>
    
    <p>
    For array and slice literals the following rules apply:
    </p>
    <ul>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/operand_test.go

    	{"[):[o-FP", ""},     // Issue 12469 - there was no infinite loop for ARM; these are just sanity checks.
    	{"[):[R0-FP", ""},
    	{"(", ""}, // Issue 12466 - backed up before beginning of line.
    }
    
    var ppc64OperandTests = []operandTest{
    	{"$((1<<63)-1)", "$9223372036854775807"},
    	{"$(-64*1024)", "$-65536"},
    	{"$(1024 * 8)", "$8192"},
    	{"$-1", "$-1"},
    	{"$-24(R4)", "$-24(R4)"},
    	{"$0", "$0"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg debug/dwarf, type LineEntry struct, File *LineFile
    pkg debug/dwarf, type LineEntry struct, ISA int
    pkg debug/dwarf, type LineEntry struct, IsStmt bool
    pkg debug/dwarf, type LineEntry struct, Line int
    pkg debug/dwarf, type LineEntry struct, OpIndex int
    pkg debug/dwarf, type LineEntry struct, PrologueEnd bool
    pkg debug/dwarf, type LineFile struct
    pkg debug/dwarf, type LineFile struct, Length int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    	})
    }
    
    // rZipBytes returns the bytes of a recursive zip file, without
    // putting it on disk and triggering certain virus scanners.
    func rZipBytes() []byte {
    	s := `
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/line_test.go

    Matthew Dempsky <******@****.***> 1693101993 -0700
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    		}
    	}
    	in.Push(NewTokenizer(name, fd, fd))
    }
    
    // #line processing.
    func (in *Input) line() {
    	// Only need to handle Plan 9 format: #line 337 "filename"
    	tok := in.Stack.Next()
    	if tok != scanner.Int {
    		in.expectText("expected line number after #line")
    	}
    	line, err := strconv.Atoi(in.Stack.Text())
    	if err != nil {
    		in.Error("error parsing #line (cannot happen):", err)
    	}
    	tok = in.Stack.Next()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top