Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for uuidgen (0.11 sec)

  1. cluster/gce/gci/configure-helper.sh

        # three uuids and take their sum. The sum is encoded in ASCII hex, hence the
        # 64 character cut.
        out+="$(
         (
           uuidgen --random;
           uuidgen --random;
           uuidgen --random;
         ) | sha256sum \
           | head -c 64
        )";
      done
      # Finally, convert the ASCII hex to base64 to increase the density.
      echo -n "${out}" | xxd -r -p | base64 -w 0
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    			t.Errorf("%s: got %#v, want %#v", pair.Name, pair.Got, pair.Want)
    		}
    	}
    }
    
    // basic test cases
    
    const EINVAL = C.EINVAL /* test #define */
    
    var KILO = C.KILO
    
    func uuidgen() {
    	var uuid C.cgo_uuid_t
    	C.uuid_generate(&uuid[0])
    }
    
    func Strtol(s string, base int) (int, error) {
    	p := C.CString(s)
    	n, err := C.strtol(p, nil, C.int(base))
    	C.free(unsafe.Pointer(p))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/runtime/runtime2.go

    	pcache      pageCache
    	raceprocctx uintptr
    
    	deferpool    []*_defer // pool of available defer structs (see panic.go)
    	deferpoolbuf [32]*_defer
    
    	// Cache of goroutine ids, amortizes accesses to runtime·sched.goidgen.
    	goidcache    uint64
    	goidcacheend uint64
    
    	// Queue of runnable goroutines. Accessed without lock.
    	runqhead uint32
    	runqtail uint32
    	runq     [256]guintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	}
    	casgstatus(newg, _Gdead, status)
    	if pp.goidcache == pp.goidcacheend {
    		// Sched.goidgen is the last allocated id,
    		// this batch must be [sched.goidgen+1, sched.goidgen+GoidCacheBatch].
    		// At startup sched.goidgen=0, so main goroutine receives goid=1.
    		pp.goidcache = sched.goidgen.Add(_GoidCacheBatch)
    		pp.goidcache -= _GoidCacheBatch - 1
    		pp.goidcacheend = pp.goidcache + _GoidCacheBatch
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top