Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Slots (0.04 sec)

  1. src/runtime/testdata/testwintls/main.c

    #include <windows.h>
    
    int main(int argc, char **argv) {
        if (argc < 3) {
            return 1;
        }
        // Allocate more than 64 TLS indices
        // so the Go runtime doesn't find
        // enough space in the TEB TLS slots.
        for (int i = 0; i < 65; i++) {
            TlsAlloc();
        }
        HMODULE hlib = LoadLibrary(argv[1]);
        if (hlib == NULL) {
            return 2;
        }
        FARPROC proc = GetProcAddress(hlib, argv[2]);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 15:37:00 UTC 2023
    - 692 bytes
    - Viewed (0)
  2. doc/next/5-toolchain.md

    In Go 1.23, overhead should be in the single digit percentages.
    
    <!-- https://go.dev/issue/62737 , https://golang.org/cl/576681,  https://golang.org/cl/577615 -->
    The compiler in Go 1.23 can now overlap the stack frame slots of local variables
    accessed in disjoint regions of a function, which reduces stack usage
    for Go applications.
    
    <!-- https://go.dev/cl/577935 -->
    For 386 and amd64, the compiler will use information from PGO to align certain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/sync/poolqueue.go

    // multi-consumer queue. The single producer can both push and pop
    // from the head, and consumers can pop from the tail.
    //
    // It has the added feature that it nils out unused slots to avoid
    // unnecessary retention of objects. This is important for sync.Pool,
    // but not typically a property considered in the literature.
    type poolDequeue struct {
    	// headTail packs together a 32-bit head index and a 32-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/runtime/mcentral.go

    	return &c.partial[sweepgen/2%2]
    }
    
    // fullUnswept returns the spanSet which holds unswept spans without any
    // free slots for this sweepgen.
    func (c *mcentral) fullUnswept(sweepgen uint32) *spanSet {
    	return &c.full[1-sweepgen/2%2]
    }
    
    // fullSwept returns the spanSet which holds swept spans without any
    // free slots for this sweepgen.
    func (c *mcentral) fullSwept(sweepgen uint32) *spanSet {
    	return &c.full[sweepgen/2%2]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue13160.go

    				// (This is a magic loop that gets lowered to memclr.)
    				r := collider[i : i+1]
    				for k := range r {
    					r[k] = nil
    				}
    			}
    			done <- struct{}{}
    		}()
    	}
    	// Start readers.  They read pointers from slots
    	// and make sure they are valid.
    	for i := 0; i < p; i++ {
    		i := i
    		go func() {
    			for j := 0; j < N; j++ {
    				var ptr [1]*int
    				copy(ptr[:], collider[i:i+1])
    				if ptr[0] != nil && ptr[0] != ptrs[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_android.c

    		}
    		return;
    	}
    
    	err = pthread_key_create(&k, nil);
    	if(err != 0) {
    		fatalf("pthread_key_create failed: %d", err);
    	}
    	pthread_setspecific(k, (void*)magic1);
    	// If thread local slots are laid out as we expect, our magic word will
    	// be located at some low offset from tlsbase. However, just in case something went
    	// wrong, the search is limited to sensible offsets. PTHREAD_KEYS_MAX was the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 23:17:17 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/location.go

    // part or all of a PPARAM, PPARAMOUT, or PAUTO ONAME node.
    // It can represent a whole variable, part of a larger stack slot, or part of a
    // variable that has been decomposed into multiple stack slots.
    // As an example, a string could have the following configurations:
    //
    //	          stack layout              LocalSlots
    //
    //	Optimizations are disabled. s is on the stack and represented in its entirety.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/internal/codesign/codesign.go

    	hashOffset    uint32 // offset of hash slot element at index zero
    	identOffset   uint32 // offset of identifier string
    	nSpecialSlots uint32 // number of special hash slots
    	nCodeSlots    uint32 // number of ordinary (code) hash slots
    	codeLimit     uint32 // limit to main image signature range
    	hashSize      uint8  // size of each hash in bytes
    	hashType      uint8  // type of hash (cdHashType* constants)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. cmd/veeam-sos-api.go

    //
    //   - <StorageConcurrentTasksLimit>
    //     Setting reduces the parallel Repository Task slots that offload or write data to object storage. The same user interface
    //     setting overwrites the storage-defined setting.
    //     Optional value, default 0, range: 0-unlimited (0 equals unlimited, which means the maximum configured repository task
    //     slots are used for object offloading or writing)
    //
    //   - <KbBlockSize>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/internal/abi/abi.go

    // of RegArgs.
    //
    // RegArgs also contains additional space to hold pointers
    // when it may not be safe to keep them only in the integer
    // register space otherwise.
    type RegArgs struct {
    	// Values in these slots should be precisely the bit-by-bit
    	// representation of how they would appear in a register.
    	//
    	// This means that on big endian arches, integer values should
    	// be in the top bits of the slot. Floats are usually just
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 15:51:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top