Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for discord (0.29 sec)

  1. src/bytes/reader_test.go

    		n   int64
    		err error
    	}
    	type justReader struct {
    		io.Reader
    	}
    	type justWriter struct {
    		io.Writer
    	}
    	discard := justWriter{io.Discard} // hide ReadFrom
    
    	var with, withOut nErr
    	with.n, with.err = io.Copy(discard, NewReader(nil))
    	withOut.n, withOut.err = io.Copy(discard, justReader{NewReader(nil)})
    	if with != withOut {
    		t.Errorf("behavior differs: with = %#v; without: %#v", with, withOut)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  2. api/go1.16.txt

    pkg syscall (darwin-arm64), const TIOCUCNTL ideal-int
    pkg syscall (darwin-arm64), const TOSTOP = 4194304
    pkg syscall (darwin-arm64), const TOSTOP ideal-int
    pkg syscall (darwin-arm64), const VDISCARD = 15
    pkg syscall (darwin-arm64), const VDISCARD ideal-int
    pkg syscall (darwin-arm64), const VDSUSP = 11
    pkg syscall (darwin-arm64), const VDSUSP ideal-int
    pkg syscall (darwin-arm64), const VEOF = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  3. api/go1.14.txt

    pkg syscall (freebsd-arm64), const TIOCUCNTL ideal-int
    pkg syscall (freebsd-arm64), const TOSTOP = 4194304
    pkg syscall (freebsd-arm64), const TOSTOP ideal-int
    pkg syscall (freebsd-arm64), const VDISCARD = 15
    pkg syscall (freebsd-arm64), const VDISCARD ideal-int
    pkg syscall (freebsd-arm64), const VDSUSP = 11
    pkg syscall (freebsd-arm64), const VDSUSP ideal-int
    pkg syscall (freebsd-arm64), const VEOF = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg io/ioutil, func TempDir(string, string) (string, error)
    pkg io/ioutil, func TempFile(string, string) (*os.File, error)
    pkg io/ioutil, func WriteFile(string, []uint8, os.FileMode) error
    pkg io/ioutil, var Discard io.Writer
    pkg log, const Ldate ideal-int
    pkg log, const Llongfile ideal-int
    pkg log, const Lmicroseconds ideal-int
    pkg log, const Lshortfile ideal-int
    pkg log, const LstdFlags ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  5. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const TOSTOP = 4194304 #53466
    pkg syscall (freebsd-riscv64), const TOSTOP ideal-int #53466
    pkg syscall (freebsd-riscv64), const VDISCARD = 15 #53466
    pkg syscall (freebsd-riscv64), const VDISCARD ideal-int #53466
    pkg syscall (freebsd-riscv64), const VDSUSP = 11 #53466
    pkg syscall (freebsd-riscv64), const VDSUSP ideal-int #53466
    pkg syscall (freebsd-riscv64), const VEOF = 0 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    		p.symDefRef(w, word, operands)
    	}
    	return p.errorCount == 0
    }
    
    // nextToken returns the next non-build-comment token from the lexer.
    // It reports misplaced //go:build comments but otherwise discards them.
    func (p *Parser) nextToken() lex.ScanToken {
    	for {
    		tok := p.lex.Next()
    		if tok == lex.BuildComment {
    			if p.sawCode {
    				p.errorf("misplaced //go:build comment")
    			}
    			continue
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. doc/go_spec.html

    <code>-</code>, <code>*</code>, and <code>&lt;&lt;</code> are
    computed modulo 2<sup><i>n</i></sup>, where <i>n</i> is the bit width of
    the unsigned integer's type.
    Loosely speaking, these unsigned integer operations
    discard high bits upon overflow, and programs may rely on "wrap around".
    </p>
    
    <p>
    For signed integers, the operations <code>+</code>,
    <code>-</code>, <code>*</code>, <code>/</code>, and <code>&lt;&lt;</code> may legally
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg syscall (darwin-386), const TIOCUCNTL = 2147775590
    pkg syscall (darwin-386), const TOSTOP = 4194304
    pkg syscall (darwin-386), const TOSTOP ideal-int
    pkg syscall (darwin-386), const VDISCARD = 15
    pkg syscall (darwin-386), const VDISCARD ideal-int
    pkg syscall (darwin-386), const VDSUSP = 11
    pkg syscall (darwin-386), const VDSUSP ideal-int
    pkg syscall (darwin-386), const VEOF = 0
    pkg syscall (darwin-386), const VEOF ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    			err = ErrBufferFull
    		}
    	}
    	return b.buf[b.r : b.r+n], err
    }
    
    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    func (b *Reader) Discard(n int) (discarded int, err error) {
    	if n < 0 {
    		return 0, ErrNegativeCount
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    		// Discard the remainder of the file and any padding.
    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    		if _, err := tryReadFull(tr.r, tr.blk[:tr.pad]); err != nil {
    			return nil, err
    		}
    		tr.pad = 0
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top