Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for wereld (0.31 sec)

  1. src/runtime/mgc.go

    	// Wake all blocked assists. These will run when we
    	// start the world again.
    	gcWakeAllAssists()
    
    	// Likewise, release the transition lock. Blocked
    	// workers and assists will run when we start the
    	// world again.
    	semrelease(&work.markDoneSema)
    
    	// In STW mode, re-enable user goroutines. These will be
    	// queued to run after we start the world.
    	schedEnableUser(true)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    		{
    			volume, "myobject", 0, 16,
    			[]byte("hello, world"),
    			io.ErrUnexpectedEOF,
    		},
    		// Reading from an offset success. - 7
    		{
    			volume, "myobject", 7, 5,
    			[]byte("world"), nil,
    		},
    		// Reading from an object but buffer size greater. - 8
    		{
    			volume, "myobject",
    			7, 8,
    			[]byte("world"),
    			io.ErrUnexpectedEOF,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. src/runtime/mgcpacer.go

    	heapScan atomic.Uint64
    
    	// lastHeapScan is the number of bytes of heap that were scanned
    	// last GC cycle. It is the same as heapMarked, but only
    	// includes the "scannable" parts of objects.
    	//
    	// Updated when the world is stopped.
    	lastHeapScan uint64
    
    	// lastStackScan is the number of bytes of stack that were scanned
    	// last GC cycle.
    	lastStackScan atomic.Uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    	gp.param = nil
    	if completed {
    		gcMarkDone()
    	}
    
    	if gp.gcAssistBytes < 0 {
    		// We were unable steal enough credit or perform
    		// enough work to pay off the assist debt. We need to
    		// do one of these before letting the mutator allocate
    		// more to prevent over-allocation.
    		//
    		// If this is because we were preempted, reschedule
    		// and try some more.
    		if gp.preempt {
    			Gosched()
    			goto retry
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    		// if both the current and last generation were not dense.
    		return sc.inUse < scavChunkHiOccPages && sc.lastInUse < scavChunkHiOccPages
    	}
    	// If we're one or more generations ahead, we know inUse represents the current
    	// state of the chunk, since otherwise it would've been updated already.
    	return sc.inUse < scavChunkHiOccPages
    }
    
    // alloc updates sc given that npages were allocated in the corresponding chunk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/os/os_test.go

    	defer Remove(f.Name())
    	defer f.Close()
    
    	const data = "hello, world\n"
    	io.WriteString(f, data)
    
    	b := make([]byte, 5)
    	n, err := f.ReadAt(b, 7)
    	if err != nil || n != len(b) {
    		t.Fatalf("ReadAt 7: %d, %v", n, err)
    	}
    	if string(b) != "world" {
    		t.Fatalf("ReadAt 7: have %q want %q", string(b), "world")
    	}
    }
    
    // Verify that ReadAt doesn't affect seek offset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  7. src/runtime/mprof.go

    // during STW. The caller must call mProf_Flush before calling
    // mProf_NextCycle again.
    //
    // This is called by mark termination during STW so allocations and
    // frees after the world is started again count towards a new heap
    // profiling cycle.
    func mProf_NextCycle() {
    	mProfCycle.increment()
    }
    
    // mProf_Flush flushes the events from the current heap profiling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	dswp.podManager.(mutablePodManager).RemovePod(pod)
    
    	dswp.findAndRemoveDeletedPods()
    
    	if !dswp.pods.processedPods[podName] {
    		t.Fatalf("Pod should not been removed from desired state of world since pod state still thinks it exists")
    	}
    
    	fakePodState.removed = map[kubetypes.UID]struct{}{pod.UID: {}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    					IndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkIndexAnyUTF8(b *testing.B) {
    	x := Repeat("#", 2048) // Never matches set
    	cs := "你好世界, hello world. 你好世界, hello world. 你好世界, hello world."
    	for k := 1; k <= 2048; k <<= 4 {
    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					IndexAny(x[:k], cs[:j])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. pkg/apis/storage/validation/validation_test.go

    			AttachmentMetadata: map[string]string{
    				"foo": "bar",
    			},
    			AttachError: &storage.VolumeError{
    				Time:    metav1.Time{},
    				Message: "hello world",
    			},
    			DetachError: &storage.VolumeError{
    				Time:    metav1.Time{},
    				Message: "hello world",
    			},
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{Name: "foo-with-inlinespec-and-status"},
    		Spec: storage.VolumeAttachmentSpec{
    			Attacher: "myattacher",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
Back to top