Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for 3p1024 (0.41 sec)

  1. src/runtime/os_aix.go

    // None of the Go runtime is initialized.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func libpreinit() {
    	initsig(true)
    }
    
    // Ms related functions
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // AIX wants >= 8K
    	mp.gsignal.m = mp
    }
    
    // errno address must be retrieved by calling _Errno libc function.
    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            }
    
            @Override
            public void readAndForwardStdin() {
                executor.execute(() -> {
                    if (buffer == null) {
                        buffer = new char[16 * 1024];
                    }
                    int nread;
                    try {
                        // Read input as text rather than bytes, so that readAndForwardText() below can also read lines of text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

            private final byte[] writeBuffer = new byte[1];
    
            public SocketOutputStream(SocketChannel socket) throws IOException {
                this.socket = socket;
                buffer = ByteBuffer.allocateDirect(32 * 1024);
            }
    
            @Override
            public void write(int b) throws IOException {
                writeBuffer[0] = (byte) b;
                write(writeBuffer);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/mime/multipart/formdata.go

    				if err != nil {
    					return nil, err
    				}
    			}
    			numDiskFiles++
    			if _, err := file.Write(b.Bytes()); err != nil {
    				return nil, err
    			}
    			if copyBuf == nil {
    				copyBuf = make([]byte, 32*1024) // same buffer size as io.Copy uses
    			}
    			// os.File.ReadFrom will allocate its own copy buffer if we let io.Copy use it.
    			type writerOnly struct{ io.Writer }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    	char*		field[6];
    	char*		delim[6];
    	FILE*		fp;
    	int		tabs[6];
    	char		unit[64];
    	regmatch_t	match[100];
    	regex_t		preg;
    
    	static char	pat[32 * 1024];
    	static char	patbuf[32 * 1024];
    	static char	strbuf[32 * 1024];
    
    	int		nonosub = REG_NOSUB == 0;
    	int		nonexec = 0;
    
    	unsigned long	test = 0;
    
    	static char*	filter[] = { "-", 0 };
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. src/runtime/os_netbsd.go

    	goenvs_unix()
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	gp := getg()
    	gp.m.procid = uint64(lwp_self())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/internal/buildid/buildid.go

    	//	build id "b41e5c45250e25c9fd5e9f9a1de7857ea0d41224"
    	//
    	// The variable-sized strings are GOOS, GOARCH, and the experiment list (X:none).
    	// Reading the first 1024 bytes should be plenty.
    	data := make([]byte, 1024)
    	n, err := io.ReadFull(f, data)
    	if err != nil && n == 0 {
    		return "", err
    	}
    
    	tryGccgo := func() (string, error) {
    		return readGccgoArchive(name, f)
    	}
    
    	// Archive header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 28 21:52:53 UTC 2020
    - 9K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_386.s

    TEXT tstart<>(SB),NOSPLIT,$8-4
    	MOVL	newm+0(FP), CX		// m
    	MOVL	m_g0(CX), DX		// g
    
    	// Layout new m scheduler stack on os stack.
    	MOVL	SP, AX
    	MOVL	AX, (g_stack+stack_hi)(DX)
    	SUBL	$(64*1024), AX		// initial stack size (adjusted later)
    	MOVL	AX, (g_stack+stack_lo)(DX)
    	ADDL	$const_stackGuard, AX
    	MOVL	AX, g_stackguard0(DX)
    	MOVL	AX, g_stackguard1(DX)
    
    	// Set up tls.
    	LEAL	m_tls(CX), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/runtime/os_plan9.go

    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	// Initialize stack and goroutine for note handling.
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    	mp.notesig = (*int8)(mallocgc(_ERRMAX, nil, true))
    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    }
    
    // NewSkipReader - creates a SkipReader
    func NewSkipReader(r io.Reader, n int64) io.Reader {
    	return &SkipReader{r, n}
    }
    
    var copyBufPool = sync.Pool{
    	New: func() interface{} {
    		b := make([]byte, 32*1024)
    		return &b
    	},
    }
    
    // Copy is exactly like io.Copy but with reusable buffers.
    func Copy(dst io.Writer, src io.Reader) (written int64, err error) {
    	bufp := copyBufPool.Get().(*[]byte)
    	buf := *bufp
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top