Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 916 for slop (0.11 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/provider/ValueSource.java

     *     It is possible to use this service even at configuration time. However, as the
     *     returned value is used to check the configuration cache, the {@link #obtain()} method will
     *     be called during each build. Calling slow commands here will slow things down.</li>
     * </ul>
     *
     * <p>
     * A value source implementation will most likely take parameters. To do this create a
     * subtype of {@link ValueSourceParameters} and declare this type as the type parameter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:02:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pilot/pkg/autoregistration/controller_test.go

    		assert.NoError(t, c.OnConnect(makeConn(p, time.Now())))
    		checkNoEntryOrFail(t, store, wgA, p)
    	})
    }
    
    func TestUpdateHealthCondition(t *testing.T) {
    	stop := test.NewStop(t)
    	ig, ig2, store := setup(t)
    	go ig.Run(stop)
    	go ig2.Run(stop)
    	p := fakeProxy("1.2.3.4", wgA, "litNw", "sa-a")
    	p.XdsNode = fakeNode("reg1", "zone1", "subzone1")
    	ig.OnConnect(makeConn(p, time.Now()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/sync/poolqueue.go

    		// reading the value to take back ownership of this
    		// slot.
    		head--
    		ptrs2 := d.pack(head, tail)
    		if d.headTail.CompareAndSwap(ptrs, ptrs2) {
    			// We successfully took back slot.
    			slot = &d.vals[head&uint32(len(d.vals)-1)]
    			break
    		}
    	}
    
    	val := *(*any)(unsafe.Pointer(slot))
    	if val == dequeueNil(nil) {
    		val = nil
    	}
    	// Zero the slot. Unlike popTail, this isn't racing with
    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/time/sleep.go

    // any receive from t.C after Stop has returned is guaranteed to block
    // rather than receive a stale time value from before the Stop;
    // if the program has not received from t.C already and the timer is
    // running, Stop is guaranteed to return true.
    // Before Go 1.23, the only safe way to use Stop was insert an extra
    // <-t.C if Stop returned false to drain a potential stale value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AsyncStoppable.java

     */
    package org.gradle.internal.concurrent;
    
    /**
     * A {@link Stoppable} object whose stop process can be performed asynchronously.
     */
    public interface AsyncStoppable extends Stoppable {
        /**
         * <p>Requests that this stoppable commence a graceful stop. Does not block. You should call {@link
         * Stoppable#stop} to wait for the stop process to complete.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/testing/fstest/mapfs_test.go

    import (
    	"fmt"
    	"io/fs"
    	"strings"
    	"testing"
    )
    
    func TestMapFS(t *testing.T) {
    	m := MapFS{
    		"hello":             {Data: []byte("hello, world\n")},
    		"fortune/k/ken.txt": {Data: []byte("If a program is too slow, it must have a loop.\n")},
    	}
    	if err := TestFS(m, "hello", "fortune", "fortune/k", "fortune/k/ken.txt"); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestMapFSChmodDot(t *testing.T) {
    	m := MapFS{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 14:59:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPsiJavaClassSymbol.kt

     * properties are computed from the given [PsiClass] instead of [firSymbol]. This improves performance when "slow" properties don't need to
     * be accessed.
     */
    internal class KaFirPsiJavaClassSymbol(
        override val psi: PsiClass,
        override val analysisSession: KaFirSession,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/mergelocals_test.go

    	}{
    		{
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1, 2},
    				v2: []int{0, 1, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: false,
    		},
    		{
    			// invalid mls.v slot -1
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{-1, 0},
    				v2: []int{0, 1, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: true,
    		},
    		{
    			// duplicate var in v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. pkg/kube/krt/sync.go

    type Syncer interface {
    	WaitUntilSynced(stop <-chan struct{}) bool
    	HasSynced() bool
    }
    
    var (
    	_ Syncer = channelSyncer{}
    	_ Syncer = pollSyncer{}
    )
    
    type channelSyncer struct {
    	name   string
    	synced <-chan struct{}
    }
    
    func (c channelSyncer) WaitUntilSynced(stop <-chan struct{}) bool {
    	return waitForCacheSync(c.name, stop, c.synced)
    }
    
    func (c channelSyncer) HasSynced() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 14:25:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/kube/kclient/crdwatcher_test.go

    func TestCRDWatcherRace(t *testing.T) {
    	stop := test.NewStop(t)
    	c := kube.NewFakeClient()
    	ctl := c.CrdWatcher()
    	vsCalls := atomic.NewInt32(0)
    
    	// Race callback and CRD creation
    	go func() {
    		if ctl.KnownOrCallback(gvr.VirtualService, func(s <-chan struct{}) {
    			assert.Equal(t, s, stop)
    			// Happened async
    			vsCalls.Inc()
    		}) {
    			// Happened sync
    			vsCalls.Inc()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top