Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 535 for xsamples (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringBiMapGenerator implements TestBiMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringMapGenerator implements TestMapGenerator<String, String> {
    
      @Override
      public SampleElements<Entry<String, String>> samples() {
        return new SampleElements<>(
            mapEntry("one", "January"),
            mapEntry("two", "February"),
            mapEntry("three", "March"),
            mapEntry("four", "April"),
            mapEntry("five", "May"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
      @Override
      public SampleElements<Character> samples() {
        return new Chars();
      }
    
      @Override
      public List<Character> create(Object... elements) {
        Character[] array = new Character[elements.length];
        int i = 0;
        for (Object e : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        super.setUp();
        service = SimpleTimeLimiter.create(executor);
      }
    
      public void testNewProxy_goodMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/websockets.md

    ---
    
    Mas para este exemplo, usaremos um documento HTML muito simples com algum JavaScript, tudo dentro de uma string longa.
    
    Esse, é claro, não é o ideal e você não o usaria para produção.
    
    Na produção, você teria uma das opções acima.
    
    Mas é a maneira mais simples de focar no lado do servidor de WebSockets e ter um exemplo funcional:
    
    ```Python hl_lines="2  6-38  41-43"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:20:59 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumMultisetGenerator implements TestMultisetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. docs_src/schema_extra_example/tutorial001_py310_pv1.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 631 bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

            OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> mapGenerator) {
          this.mapGenerator = mapGenerator;
        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return mapGenerator.samples();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return mapGenerator.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	n.activeConnections--
    	if n.firstToDisconnect.IsZero() {
    		n.RXSample = atomic.LoadUint64(&n.RX)
    		n.firstToDisconnect = time.Now()
    	}
    }
    
    func (n *netPerfRX) ActiveConnections() uint64 {
    	n.RLock()
    	defer n.RUnlock()
    	return n.activeConnections
    }
    
    func (n *netPerfRX) Reset() {
    	n.Lock()
    	defer n.Unlock()
    	n.RX = 0
    	n.RXSample = 0
    	n.lastToConnect = time.Time{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/distributed/iam-import-with-openid.sh

    	display_name="Login via dex1" \
    	role_policy="consoleAdmin"
    
    ./mc admin service restart myminio --json
    ./mc ready myminio
    ./mc admin cluster iam import myminio docs/distributed/samples/myminio-iam-info-openid.zip
    
    # Verify if buckets / objects accessible using service account
    echo "Verifying buckets and objects access for the imported service account"
    
    ./mc ls myminio1/ --json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top