Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Rings (0.36 sec)

  1. src/container/ring/ring.go

    // Package ring implements operations on circular lists.
    package ring
    
    // A Ring is an element of a circular list, or ring.
    // Rings do not have a beginning or end; a pointer to any ring element
    // serves as reference to the entire ring. Empty rings are represented
    // as nil Ring pointers. The zero value for a Ring is a one-element
    // ring with a nil Value.
    type Ring struct {
    	next, prev *Ring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. src/testdata/Isaac.Newton-Opticks.txt

    _Obs._ 23. Comparing the quantity of Light reflected from the several
    Rings, I found that it was most copious from the first or inmost, and in
    the exterior Rings became gradually less and less. Also the whiteness of
    the first Ring was stronger than that reflected from those parts of the
    thin Medium or Plate which were without the Rings; as I could manifestly
    perceive by viewing at a distance the Rings made by the two
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  3. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    and therefore the Theory of deriving these Rings from the thickness of the Plate of Glass of which the Speculum was made, and from the Obliquity of the emerging Rays agrees with the Observation. In this Computation I have equalled the Diameters of the bright Rings made by Light of all Colours, to the Diameters of the Rings made by the bright yellow. For this yellow makes the brightest Part of the Rings of all Colours. If you desire the Diameters of the Rings made by the Light of any other unmix'd Colour,...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  4. src/container/ring/example_test.go

    	r.Do(func(p any) {
    		fmt.Println(p.(int))
    	})
    
    	// Output:
    	// 3
    	// 4
    	// 0
    	// 1
    	// 2
    }
    
    func ExampleRing_Link() {
    	// Create two rings, r and s, of size 2
    	r := ring.New(2)
    	s := ring.New(2)
    
    	// Get the length of the ring
    	lr := r.Len()
    	ls := s.Len()
    
    	// Initialize r with 0s
    	for i := 0; i < lr; i++ {
    		r.Value = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    At the same point, you try to trigger the autocomplete with `Ctrl+Space` and you see:
    
    <img src="/img/python-types/image02.png">
    
    With that, you can scroll, seeing the options, until you find the one that "rings a bell":
    
    <img src="/img/python-types/image03.png">
    
    ## More motivation
    
    Check this function, it already has type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

            assertConfigCacheDiscarded()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/19663")
        def "fails when disabling reaching out to key servers after previous successful build and no key rings file"() {
            given:
            createMetadataFile {
                keyServer(keyServerFixture.uri)
                verifySignatures()
                addTrustedKey("org:foo:1.0", validPublicKeyHexString)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go

    			srvErr <- fmt.Errorf("server: timeout waiting for connection to close")
    			return
    		case <-srvSPDYConn.CloseChan():
    		}
    
    		// Count pings sent by the server.
    		gotPings := atomic.LoadInt64(&pingsSent)
    		if gotPings < 1 {
    			t.Errorf("server: failed to send any pings (check logs)")
    		}
    	}()
    
    	// Set up client connection.
    	clConn, err := net.Dial("tcp4", listener.Addr().String())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 11:58:57 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/jsondata/books.json

            },
            {
                "year": 2018,
                "publisher": "Harper Voyager",
                "type": "Paperback",
                "pages": 432
            }
        ]
    }
    {
        "title": "Pigs Have Wings",
        "authorInfo": {
            "name": "P. G. Wodehouse",
            "yearRange": [1881, 1975]
        },
        "genre": "Comic novel",
        "publicationHistory": [
            {
                "year": 1952,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. pkg/keepalive/options.go

    // whereas MaxServerConnectionAge* options are applicable on the server side only
    // (as implied by the options' name...)
    type Options struct {
    	// After a duration of this time if the server/client doesn't see any activity it pings the peer to see if the transport is still alive.
    	Time time.Duration
    	// After having pinged for keepalive check, the server waits for a duration of Timeout and if no activity is seen even after that
    	// the connection is closed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockContentionHandler.java

    @ServiceScope(Scope.Global.class)
    public interface FileLockContentionHandler {
        void start(long lockId, Consumer<FileLockReleasedSignal> whenContended);
    
        void stop(long lockId);
    
        int reservePort();
    
        /**
         * Pings the lock owner with the give port to start the lock releasing
         * process in the owner. May not ping the owner if:
         * - The owner was already pinged about the given lock before and the lock release is in progress
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 01:28:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top