Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tostr (0.06 sec)

  1. src/runtime/slice.go

    		racewriterangepc(toPtr, size, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(fromPtr, size)
    		msanwrite(toPtr, size)
    	}
    	if asanenabled {
    		asanread(fromPtr, size)
    		asanwrite(toPtr, size)
    	}
    
    	if size == 1 { // common case worth about 2x to do here
    		// TODO: is this still worth it with new memmove impl?
    		*(*byte)(toPtr) = *(*byte)(fromPtr) // known to be a byte pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/go/types/example_test.go

    		var buf strings.Builder
    		posn := fset.Position(expr.Pos())
    		tvstr := tv.Type.String()
    		if tv.Value != nil {
    			tvstr += " = " + tv.Value.String()
    		}
    		// line:col | expr | mode : type = value
    		fmt.Fprintf(&buf, "%2d:%2d | %-19s | %-7s : %s",
    			posn.Line, posn.Column, exprString(fset, expr),
    			mode(tv), tvstr)
    		items = append(items, buf.String())
    	}
    	slices.Sort(items)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/runtime/mklockrank.go

    # Defer
    NONE < defer;
    
    # GC
    NONE <
      sweepWaiters,
      assistQueue,
      sweep;
    
    # Test only
    NONE < testR, testW;
    
    NONE < timerSend;
    
    # Scheduler, timers, netpoll
    NONE < allocmW, execW, cpuprof, pollCache, pollDesc, wakeableSleep;
    scavenge, sweep, testR, wakeableSleep, timerSend < hchan;
    assistQueue,
      cpuprof,
      forcegc,
      hchan,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/runtime/lockrank.go

    	lockRankForcegc:         "forcegc",
    	lockRankDefer:           "defer",
    	lockRankSweepWaiters:    "sweepWaiters",
    	lockRankAssistQueue:     "assistQueue",
    	lockRankSweep:           "sweep",
    	lockRankTestR:           "testR",
    	lockRankTestW:           "testW",
    	lockRankTimerSend:       "timerSend",
    	lockRankAllocmW:         "allocmW",
    	lockRankExecW:           "execW",
    	lockRankCpuprof:         "cpuprof",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func slicebytetostringtmp(ptr *byte, n int) string
    func slicerunetostring(*[32]byte, []rune) string
    func stringtoslicebyte(*[32]byte, string) []byte
    func stringtoslicerune(*[32]rune, string) []rune
    func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int
    
    func decoderune(string, int) (retv rune, retk int)
    func countrunes(string) int
    
    // Convert non-interface type to the data word of a (empty or nonempty) interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. src/runtime/alg.go

    // Notable members of the hall of shame include:
    //   - github.com/aacfactory/fns
    //   - github.com/dgraph-io/ristretto
    //   - github.com/minio/simdjson-go
    //   - github.com/nbd-wtf/go-nostr
    //   - github.com/outcaste-io/ristretto
    //   - github.com/puzpuzpuz/xsync/v2
    //   - github.com/puzpuzpuz/xsync/v3
    //   - github.com/segmentio/parquet-go
    //   - github.com/parquet-go/parquet-go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    			GMSACredentialSpecName: toPtr("dummy-gmsa-crep-spec-name"),
    			GMSACredentialSpec:     toPtr("dummy-gmsa-crep-spec-contents"),
    		},
    	}, {
    		testName: "a GMSA cred spec name that is not a valid resource name",
    		windowsOptions: &core.WindowsSecurityContextOptions{
    			// invalid because of the underscore
    			GMSACredentialSpecName: toPtr("not_a-valid-gmsa-crep-spec-name"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top