Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for readlen (0.11 sec)

  1. src/math/rand/v2/chacha8.go

    func (c *ChaCha8) Read(p []byte) (n int, err error) {
    	if c.readLen > 0 {
    		n = copy(p, c.readBuf[len(c.readBuf)-c.readLen:])
    		c.readLen -= n
    		p = p[n:]
    	}
    	for len(p) >= 8 {
    		byteorder.LePutUint64(p, c.Uint64())
    		p = p[8:]
    		n += 8
    	}
    	if len(p) > 0 {
    		byteorder.LePutUint64(c.readBuf[:], c.Uint64())
    		n += copy(p, c.readBuf[:])
    		c.readLen = 8 - len(p)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_openbsd_libc.go

    }
    func syscall9X(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) {
    	return syscall10X(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, 0)
    }
    
    //sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_read
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_lseek
    //sys	getcwd(buf []byte) (n int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/syscall/exec_unix.go

    	if err1 != 0 {
    		Close(p[0])
    		Close(p[1])
    		releaseForkLock()
    		return 0, Errno(err1)
    	}
    	releaseForkLock()
    
    	// Read child error status from pipe.
    	Close(p[1])
    	for {
    		n, err = readlen(p[0], (*byte)(unsafe.Pointer(&err1)), int(unsafe.Sizeof(err1)))
    		if err != EINTR {
    			break
    		}
    	}
    	Close(p[0])
    	if err != nil || n != 0 {
    		if n == int(unsafe.Sizeof(err1)) {
    			err = Errno(err1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

        override fun readUnsignedShort(): Int = readShort().let {
            require(it >= 0)
            it.toInt()
        }
    
        override fun readShort(): Short = readContext.readShort()
    
        override fun readLong(): Long = readContext.readLong()
    
        override fun readFloat(): Float = readContext.readFloat()
    
        override fun readDouble(): Double = readContext.readDouble()
    
        override fun readBoolean(): Boolean = readContext.readBoolean()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/README

    Jes Cok <******@****.***> 1706627994 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 206 bytes
    - Viewed (0)
  6. api/README

    that will be preserved when next/*.txt is concatenated into go1.XX.txt.)
    
    When you add a file to the api/next directory, you must add at least one file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:22:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/README

    Jonathan Amsterdam <******@****.***> 1705947607 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 16:44:53 UTC 2024
    - 69 bytes
    - Viewed (0)
  8. doc/initial/6-stdlib/99-minor/README

    Jonathan Amsterdam <******@****.***> 1705624488 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 69 bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/shared/README

    A test README file...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/kernels/internal/README

    A. Unique TensorFlower <******@****.***> 1716312871 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 165 bytes
    - Viewed (0)
Back to top