Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 405 for listOf (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          } catch (e: IOException) {
            failWebSocket(e = e, isWriter = true)
          }
          return -1L
        }
      }
    
      companion object {
        private val ONLY_HTTP1 = listOf(Protocol.HTTP_1_1)
    
        /**
         * The maximum number of bytes to enqueue. Rather than enqueueing beyond this limit we tear down
         * the web socket! It's possible that we're writing faster than the peer can read.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        }
      }
    
      private fun literalHeaders(sentHeaders: List<Header>): Buffer {
        val out = Buffer()
        Hpack.Writer(out = out).writeHeaders(sentHeaders)
        return out
      }
    
      private fun sendHeaderFrames(
        outFinished: Boolean,
        headers: List<Header>,
      ): Buffer {
        val out = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("K.com", session)).isFalse()
      }
    
      private fun certificateSANs(peerCertificate: X509Certificate): List<String> {
        return when (val subjectAlternativeNames = peerCertificate.subjectAlternativeNames) {
          null -> listOf()
          else -> subjectAlternativeNames.map { c: List<*> -> c[1] as String }
        }
      }
    
      @Test fun replacementCharacter() {
        // $ cat ./cert.cnf
        // [req]
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class FileSystemParamProvider : SimpleProvider() {
      override fun arguments() =
        listOf(
          FakeFileSystem().apply { emulateUnix() } to false,
          FileSystem.SYSTEM to TestUtil.windows,
          FakeFileSystem().apply { emulateWindows() } to true,
        )
    }
    
    @Timeout(60)
    @Tag("Slow")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        assertThrows(NullPointerException.class, () -> FluentIterable.concat(list1, null, list2));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/listen-notification-handlers.go

    			return
    		}
    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    	setEventStreamHeaders(w)
    
    	// Listen Publisher and peer-listen-client uses nonblocking send and hence does not wait for slow receivers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-nested-models.md

    ## Campos do tipo Lista
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    Isso fará com que tags seja uma lista de itens mesmo sem declarar o tipo dos elementos desta lista.
    
    ## Campos do tipo Lista com um parâmetro de tipo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

            .testForwarding(
                List.class,
                new Function<List, List>() {
                  @Override
                  public List apply(List delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        List<String> list1 = ImmutableList.of("one");
        List<String> list2 = ImmutableList.of("two");
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingListTest.java

            .testForwarding(
                List.class,
                new Function<List, List>() {
                  @Override
                  public List apply(List delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        List<String> list1 = ImmutableList.of("one");
        List<String> list2 = ImmutableList.of("two");
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top