Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1991 - 2000 of 3,323 for Klasse (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import org.junit.jupiter.api.Test
    
    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.Cache;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CacheResponse {
      private final OkHttpClient client;
    
      public CacheResponse(File cacheDirectory) throws Exception {
        int cacheSize = 10 * 1024 * 1024; // 10 MiB
        Cache cache = new Cache(cacheDirectory, cacheSize);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.List;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
      int builderAdd(int reps) {
        int size = this.size;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

        boolean isParameterizedClass();
    
        /**
         * 原型となるクラスを返します。
         *
         * @param <T>
         *            原型となるクラスの型
         * @return 原型となるクラス
         * @see ParameterizedType#getRawType()
         */
        <T> Class<T> getRawClass();
    
        /**
         * 型引数を表す{@link ParameterizedClassDesc}の配列を返します。
         * <p>
         * このインスタンスが表現するクラスがパラメタ化されたクラスでない場合は、{@literal null}を返します。
         * </p>
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * 一つの値を返す{@link Iterator}です。
     *
     * @author koichik
     * @param <E>
     *            要素の型
     */
    public class SingleValueIterator<E> implements Iterator<E> {
    
        /** 反復子が返す唯一の値 */
        protected final E value;
    
        /** 反復子がさらに要素を持つ場合は{@literal true} */
        protected boolean hasNext = true;
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.List;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
      int builderAdd(int reps) {
        int size = this.size;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

    import java.util.NoSuchElementException;
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    /**
     * Test stream operation speed.
     *
     * @author Louis Wasserman
     */
    public class StreamsBenchmark {
      @Param({"1", "10", "100", "1000", "10000"})
      private int size;
    
      enum CollectionType {
        ARRAY_LIST(ArrayList::new),
        LINKED_LIST(LinkedList::new);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/IndexedImmutableSet.java

    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class TransCallNamedPipe extends SmbComTransaction {
    
        private byte[] pipeData;
        private int pipeDataOff, pipeDataLen;
    
        TransCallNamedPipe( String pipeName, byte[] data, int off, int len ) {
            name = pipeName;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

    import java.util.Iterator;
    import java.util.List;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * Metadata for the group directory of the repository.
     *
     */
    @Deprecated
    public class GroupRepositoryMetadata extends AbstractRepositoryMetadata {
        private final String groupId;
    
        public GroupRepositoryMetadata(String groupId) {
            super(new Metadata());
            this.groupId = groupId;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top