Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 643 for setEnd (0.15 sec)

  1. src/bufio/bufio_test.go

    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    #### `Dict`
    
    Pour définir un `dict`, il faut lui passer 2 paramètres, séparés par une virgule (`,`).
    
    Le premier paramètre de type est pour les clés et le second pour les valeurs du dictionnaire (`dict`).
    
    {*../../docs_src/python_types/tutorial008.py hl[1,4] *}
    
    Dans cet exemple :
    
    * La variable `prices` est de type `dict` :
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableMap.java

        // If duplicates are allowed, this IdentityHashMap will record the final Entry for each
        // duplicated key. We will use this final Entry to overwrite earlier slots in the entries array
        // that have the same key. Then a second pass will remove all but the first of the slots that
        // have this Entry. The value in the map becomes false when this first entry has been copied, so
        // we know not to copy the remaining ones.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. api/go1.18.txt

    pkg testing, method (*F) Helper()
    pkg testing, method (*F) Log(...interface{})
    pkg testing, method (*F) Logf(string, ...interface{})
    pkg testing, method (*F) Name() string
    pkg testing, method (*F) Setenv(string, string)
    pkg testing, method (*F) Skip(...interface{})
    pkg testing, method (*F) SkipNow()
    pkg testing, method (*F) Skipf(string, ...interface{})
    pkg testing, method (*F) Skipped() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    		// If its available, we haven't tried to install in over 5s, reset our hits and return
    		i.hits = 0
    		return
    	}
    	// Otherwise, wait. We only wait up to 1s.
    	sleep.UntilContext(ctx, min(res.Delay(), time.Second))
    	// Increment our hits. If we are spamming this loop, we will hit this many times as we continually are sending >1 RPS
    	i.hits++
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params-str-validations.md

    Cela va valider les données, montrer une erreur claire si ces dernières ne sont pas valides, et documenter le paramètre dans le schéma `OpenAPI` de cette *path operation*.
    
    ## Rajouter plus de validation
    
    Vous pouvez aussi rajouter un second paramètre `min_length` :
    
    {* ../../docs_src/query_params_str_validations/tutorial003.py hl[9] *}
    
    ## Ajouter des validations par expressions régulières
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    					wk.Take()
    					go rebalanceEntry(entry)
    				},
    			)
    			if err == nil || errors.Is(err, context.Canceled) {
    				return
    			}
    			setN := humanize.Ordinal(setIdx + 1)
    			rebalanceLogIf(ctx, fmt.Errorf("listing objects from %s set failed with %v", setN, err), "rebalance-listing-failed"+setN)
    		}(setIdx)
    	}
    
    	wk.Wait()
    	return nil
    }
    
    type rebalSaveOpts uint8
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            return newMirror(id, mirrorOf, null, url);
        }
    
        private Mirror newMirror(String id, String mirrorOf, String layouts, String url) {
            Mirror mirror = new Mirror();
    
            mirror.setId(id);
            mirror.setMirrorOf(mirrorOf);
            mirror.setMirrorOfLayouts(layouts);
            mirror.setUrl(url);
    
            return mirror;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
      public void inEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inEdges(N2)).containsExactly(E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top