Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for withers (0.15 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/jvm/component/internal/JvmSoftwareComponentInternal.java

     * we do not want to extend that interface here, as it is slated for removal.
     */
    public interface JvmSoftwareComponentInternal extends SoftwareComponent {
    
        // TODO: These with* names are not ideally named. Traditionally, "withers" create a new
        // instance with the value changed, but these mutate the component. However, other names
        // like like "enableJavadocJar" or "addJavadocJar" are also not great since their names
        // are not declarative.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. docs/en/data/external_links.yml

    flying Software Circus: Intro to FastAPI' - author: Sebastián Ramírez (tiangolo) author_link: https://twitter.com/tiangolo link: https://www.youtube.com/watch?v=z9K5pwb0rt8 title: 'PyConBY 2020: Serve ML models easily with FastAPI' - author: Chris Withers author_link: https://twitter.com/chriswithers13 link: https://www.youtube.com/watch?v=3DLwPcrE5mA title: 'PyCon UK 2019: FastAPI from the ground up'...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 00:47:57 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprognet/waiters.go

    		}
    		defer conn.Close()
    		for i := 0; i < 10; i++ {
    			fmt.Fprintf(conn, "%d\n", i)
    			time.Sleep(time.Millisecond)
    		}
    	}()
    
    	wg.Wait()
    	if v := netpollWaiters.Load(); v != 0 {
    		log.Fatalf("current waiters %v", v)
    	}
    
    	fmt.Println("OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Either.java

    /**
     * Represents values with two possibilities.
     *
     * @param <L> the left type.
     * @param <R> the right type.
     */
    public abstract class Either<L, R> {
    
        public static <L, R> Either<L, R> left(L value) {
            return new Left<>(value);
        }
    
        public static <L, R> Either<L, R> right(R value) {
            return new Right<>(value);
        }
    
        /**
         * Take the value if this is a left.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher.go

    			getResp.Kvs[i] = nil
    		}
    
    		if withRev == 0 {
    			wc.initialRev = getResp.Header.Revision
    		}
    
    		// no more results remain
    		if !getResp.More {
    			return nil
    		}
    
    		preparedKey = string(lastKey) + "\x00"
    		if withRev == 0 {
    			withRev = getResp.Header.Revision
    			opts = append(opts, clientv3.WithRev(withRev))
    		}
    	}
    }
    
    func logWatchChannelErr(err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 10:26:38 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// indexedTrigger is used for optimizing amount of watchers that needs to process
    	// an incoming event.
    	indexedTrigger *indexedTriggerFunc
    	// watchers is mapping from the value of trigger function that a
    	// watcher is interested into the watchers
    	watcherIdx int
    	watchers   indexedWatchers
    
    	// Defines a time budget that can be spend on waiting for not-ready watchers
    	// while dispatching event before shutting them down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/model/fips.go

    		// Therefore, we only filter this field when it is set.
    		if len(ctx.TlsParams.CipherSuites) > 0 {
    			ciphers := []string{}
    			for _, cipher := range ctx.TlsParams.CipherSuites {
    				if _, ok := fipsCipherIndex[cipher]; ok {
    					ciphers = append(ciphers, cipher)
    				}
    			}
    			ctx.TlsParams.CipherSuites = ciphers
    		}
    		// Default (unset) is P-256
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	w := waiter{n: n, ready: ready}
    	elem := s.waiters.PushBack(w)
    	s.mu.Unlock()
    
    	select {
    	case <-done:
    		s.mu.Lock()
    		select {
    		case <-ready:
    			// Acquired the semaphore after we were canceled.
    			// Pretend we didn't and put the tokens back.
    			s.cur -= n
    			s.notifyWaiters()
    		default:
    			isFront := s.waiters.Front() == elem
    			s.waiters.Remove(elem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/runtime/sema.go

    					s.next.parent = s
    				}
    				// Add t first in s's wait list.
    				s.waitlink = t
    				s.waittail = t.waittail
    				if s.waittail == nil {
    					s.waittail = t
    				}
    				s.waiters = t.waiters
    				if s.waiters+1 != 0 {
    					s.waiters++
    				}
    				t.parent = nil
    				t.prev = nil
    				t.next = nil
    				t.waittail = nil
    			} else {
    				// Add s to end of t's wait list.
    				if t.waittail == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    			t.Fatalf("Can't compact into a future version: %v", resourceVersion)
    		}
    
    		if len(c.watchers.allWatchers) > 0 || len(c.watchers.valueWatchers) > 0 {
    			// We could consider terminating those watchers, but given
    			// watchcache doesn't really support compaction and we don't
    			// exercise it in tests, we just throw an error here.
    			t.Error("Open watchers are not supported during compaction")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top