Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 956 for builder_ (0.06 sec)

  1. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableNetworkBuilder_copiesNetworkBuilder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

        boolean isParallel = false;
        int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL;
        long estimatedSize = 0L;
        ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder =
            new ImmutableList.Builder<>(streams.length);
        for (Stream<? extends T> stream : streams) {
          isParallel |= stream.isParallel();
          Spliterator<? extends T> splitr = stream.spliterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

            new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() {
              @Override
              public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cni/pkg/config/config.go

    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    	FieldSelectors string
    }
    
    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("MountedCNINetDir: " + c.MountedCNINetDir + "\n")
    	b.WriteString("CNIConfName: " + c.CNIConfName + "\n")
    	b.WriteString("ChainedCNIPlugin: " + fmt.Sprint(c.ChainedCNIPlugin) + "\n")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

        /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
        final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) {
          ImmutableMap.Builder<TypeVariableKey, Type> builder = ImmutableMap.builder();
          builder.putAll(map);
          for (Entry<TypeVariableKey, ? extends Type> mapping : mappings.entrySet()) {
            TypeVariableKey variable = mapping.getKey();
            Type type = mapping.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
          val buf = CharArray(10)
          var read: Int
          while (reader.read(buf).also { read = it } != -1) {
            builder.appendRange(buf, 0, read)
          }
          return builder.toString()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/site/apt/index.apt

     This is the immutable model for Maven Plugin Descriptor in <<<org.apache.maven.api.plugin.descriptor>>> package.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

        if (array.length == 0) {
          return "";
        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 10);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top