Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for crinal (1.07 sec)

  1. src/bufio/example_test.go

    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    //
    // The value is useful to stop processing early or when it is necessary to
    // deliver a final empty token (which is different from a nil token).
    // One could achieve the same behavior with a custom error value but
    // providing one here is tidier.
    // See the emptyFinalToken example for a use of this value.
    var ErrFinalToken = errors.New("final token")
    
    // Scan advances the [Scanner] to the next token, which will then be
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	fmt.Printf("%q\n", bytes.Split([]byte("a,b,c"), []byte(",")))
    	fmt.Printf("%q\n", bytes.Split([]byte("a man a plan a canal panama"), []byte("a ")))
    	fmt.Printf("%q\n", bytes.Split([]byte(" xyz "), []byte("")))
    	fmt.Printf("%q\n", bytes.Split([]byte(""), []byte("Bernardo O'Higgins")))
    	// Output:
    	// ["a" "b" "c"]
    	// ["" "man " "plan " "canal panama"]
    	// [" " "x" "y" "z" " "]
    	// [""]
    }
    
    func ExampleSplitN() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. api/go1.8.txt

    pkg database/sql/driver, type IsolationLevel int
    pkg database/sql/driver, type NamedValue struct
    pkg database/sql/driver, type NamedValue struct, Name string
    pkg database/sql/driver, type NamedValue struct, Ordinal int
    pkg database/sql/driver, type NamedValue struct, Value Value
    pkg database/sql/driver, type Pinger interface { Ping }
    pkg database/sql/driver, type Pinger interface, Ping(context.Context) error
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    		a->r = sin(a->p0);
    	}
    
    What happens at link time depends on whether the final binary is linked
    using the internal or external mode. If other packages are compiled in
    "external only" mode, then the final link will be an external one.
    Otherwise the link will be an internal one.
    
    The linking directives are used according to the kind of final link
    used.
    
    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)
  6. src/bytes/buffer_test.go

    		t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s)
    	}
    }
    
    // Fill buf through n writes of string fus.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string {
    	check(t, testname+" (fill 1)", buf, s)
    	for ; n > 0; n-- {
    		m, err := buf.WriteString(fus)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg syscall (linux-arm-cgo), type Flock_t struct, Type int16
    pkg syscall (linux-arm-cgo), type Flock_t struct, Whence int16
    pkg syscall (netbsd-386), const CLONE_CSIGNAL = 255
    pkg syscall (netbsd-386), const CLONE_CSIGNAL ideal-int
    pkg syscall (netbsd-386), const CLONE_FILES = 1024
    pkg syscall (netbsd-386), const CLONE_FILES ideal-int
    pkg syscall (netbsd-386), const CLONE_FS = 512
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    using the following two rules:
    </p>
    
    <ol>
    <li>
    When the input is broken into tokens, a semicolon is automatically inserted
    into the token stream immediately after a line's final token if that token is
    <ul>
    	<li>an
    	    <a href="#Identifiers">identifier</a>
    	</li>
    
    	<li>an
    	    <a href="#Integer_literals">integer</a>,
    	    <a href="#Floating-point_literals">floating-point</a>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    		b[0x2d]++
    	})
    }
    
    func returnCorruptNotStreamedZip() (r io.ReaderAt, size int64) {
    	return messWith("crc32-not-streamed.zip", func(b []byte) {
    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    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)
  10. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const CLOCAL = 32768
    pkg syscall (netbsd-arm64-cgo), const CLOCAL ideal-int
    pkg syscall (netbsd-arm64-cgo), const CLONE_CSIGNAL = 255
    pkg syscall (netbsd-arm64-cgo), const CLONE_CSIGNAL ideal-int
    pkg syscall (netbsd-arm64-cgo), const CLONE_FILES = 1024
    pkg syscall (netbsd-arm64-cgo), const CLONE_FILES ideal-int
    pkg syscall (netbsd-arm64-cgo), const CLONE_FS = 512
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top