Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 989 for BUILDER (0.04 sec)

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

        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
        final CyclicBarrier barrier = new CyclicBarrier(threadCount);
        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
          futures.add(
              executor.submit(
                  new Callable<@Nullable Void>() {
                    @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                factory.setValidating(validating);
                factory.setXIncludeAware(includeAware);
    
                final DocumentBuilder builder = factory.newDocumentBuilder();
    
                final Document doc = builder.parse(is);
    
                final StringBuilder buf = new StringBuilder(1000);
                buf.append(getResultDataHeader());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      private static ImmutableSet<String> publicMethodSignatures(
          Class<?> c, ImmutableSet<String> ignore) {
        ImmutableSet.Builder<String> methods = ImmutableSet.builder();
        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      private static ImmutableSet<String> publicMethodSignatures(
          Class<?> c, ImmutableSet<String> ignore) {
        ImmutableSet.Builder<String> methods = ImmutableSet.builder();
        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

          webSocketCloseTimeout: Long = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS,
        ) {
          val url = "http://example.com/websocket"
          val response =
            Response.Builder()
              .code(101)
              .message("OK")
              .request(Request.Builder().url(url).build())
              .headers(responseHeaders!!)
              .protocol(Protocol.HTTP_1_1)
              .build()
          webSocket =
            RealWebSocket(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_complexFields() {
        Map<String, Integer> map =
            ImmutableMap.<String, Integer>builder().put("abc", 1).put("def", 2).put("ghi", 3).build();
        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-config-kv.go

    			}
    		}
    	}
    
    	subSysConfigs, err := cfg.GetSubsysInfo(subSys, target, true)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var s strings.Builder
    	for _, subSysConfig := range subSysConfigs {
    		subSysConfig.WriteTo(&s, false)
    	}
    
    	password := cred.SecretKey
    	econfigData, err := madmin.EncryptData(password, []byte(s.String()))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex_test.go

    func lines(a ...string) string {
    	return strings.Join(a, "\n") + "\n"
    }
    
    // drain returns a single string representing the processed input tokens.
    func drain(input *Input) string {
    	var buf strings.Builder
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return buf.String()
    		}
    		if tok == '#' {
    			continue
    		}
    		if buf.Len() > 0 {
    			buf.WriteByte('.')
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        level = DeprecationLevel.ERROR,
      )
      fun immutable(): Boolean = immutable
    
      override fun toString(): String = commonToString()
    
      /** Builds a `Cache-Control` request header. */
      class Builder {
        internal var noCache: Boolean = false
        internal var noStore: Boolean = false
        internal var maxAgeSeconds = -1
        internal var maxStaleSeconds = -1
        internal var minFreshSeconds = -1
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top