Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,994 for rend (0.04 sec)

  1. src/crypto/rand/rand.go

    func batched(f func([]byte) error, readMax int) func([]byte) error {
    	return func(out []byte) error {
    		for len(out) > 0 {
    			read := len(out)
    			if read > readMax {
    				read = readMax
    			}
    			if err := f(out[:read]); err != nil {
    				return err
    			}
    			out = out[read:]
    		}
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    }
    
    // New returns a new Rand that uses random values from src
    // to generate other random values.
    func New(src Source) *Rand {
    	return &Rand{src: src}
    }
    
    // Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
    
    // Uint32 returns a pseudo-random 32-bit value as a uint32.
    func (r *Rand) Uint32() uint32 { return uint32(r.src.Uint64() >> 32) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/rand.go

    //go:build boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import "unsafe"
    
    type randReader int
    
    func (randReader) Read(b []byte) (int, error) {
    	// Note: RAND_bytes should never fail; the return value exists only for historical reasons.
    	// We check it even so.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 696 bytes
    - Viewed (0)
  4. src/go/build/read.go

    					if r.eof {
    						r.syntaxError()
    					}
    					c, c1 = c1, r.readByteNoBuf()
    				}
    				startLine = false
    
    			case '/':
    				if startLine {
    					// Try to read this as a //go:embed comment.
    					for i := range goEmbed {
    						c = r.readByteNoBuf()
    						if c != goEmbed[i] {
    							goto SkipSlashSlash
    						}
    					}
    					c = r.readByteNoBuf()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/compress/flate/testdata/huffman-rand-max.golden

    huffman-rand-max.golden...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 64K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/read.go

    }
    
    var isTest = false
    
    // unprotect marks the end of a large section of code that accesses the index.
    // It should be used as:
    //
    //	defer unprotect(protect, &err)
    //
    // end looks for panics due to errCorrupt or bad mmap accesses.
    // When it finds them, it adds explanatory text, consumes the panic, and sets *errp instead.
    // If errp is nil, end adds the explanatory text but then calls base.Fatalf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    	for i := len(in.post) - 1; i >= 0; i-- {
    		x := in.post[i]
    
    		start, end := x.Span()
    		if debug {
    			fmt.Fprintf(os.Stderr, "post %T :%d:%d #%d :%d:%d #%d\n", x, start.Line, start.LineRune, start.Byte, end.Line, end.LineRune, end.Byte)
    		}
    
    		// Do not assign suffix comments to end of line block or whole file.
    		// Instead assign them to the last element inside.
    		switch x.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/imports/read.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Copied from Go distribution src/go/build/read.go.
    
    package imports
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    type importReader struct {
    	b    *bufio.Reader
    	buf  []byte
    	peek byte
    	err  error
    	eof  bool
    	nerr int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  9. src/encoding/xml/read.go

    				}
    			}
    		case EndElement:
    			return true, nil
    		}
    	}
    }
    
    // Skip reads tokens until it has consumed the end element
    // matching the most recent start element already consumed,
    // skipping nested structures.
    // It returns nil if it finds an end element matching the start
    // element; otherwise it returns an error describing the problem.
    func (d *Decoder) Skip() error {
    	var depth int64
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  10. src/internal/diff/testdata/end.txt

    Russ Cox <******@****.***> 1643490792 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 178 bytes
    - Viewed (0)
Back to top