Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 989 for buildKey (0.09 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        // Setting a low transfer speed ensures that stream discarding will time out.
        val builder =
          MockResponse.Builder()
            .throttleBody(6, 1, TimeUnit.SECONDS)
        transferKind.setBody(builder, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024)
        server.enqueue(builder.build())
        server.enqueue(
          MockResponse.Builder()
            .body("Request #2")
            .build(),
        )
        val response1 = get(server.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            builder.append(value);
            return this;
        }
    
        public Ansi a(long value) {
            flushAttributes();
            builder.append(value);
            return this;
        }
    
        public Ansi a(Object value) {
            flushAttributes();
            builder.append(value);
            return this;
        }
    
        public Ansi a(StringBuffer value) {
            flushAttributes();
            builder.append(value);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/EscapersTest.java

        Escapers.Builder builder = Escapers.builder();
        builder.setSafeRange('a', 'z');
        builder.setUnsafeReplacement("X");
        assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

        public String getSignature() {
            StringBuilder builder = new StringBuilder();
            builder.append(returnType.getSignature());
            builder.append(' ');
            builder.append(name);
            builder.append('(');
            for (int i = 0; i < parameters.size(); i++) {
                ParameterMetaData param = parameters.get(i);
                if (i > 0) {
                    builder.append(", ");
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/PingResponse.java

            try (OutputStream out = SearchEngineUtil.getXContentBuilderOutputStream((builder, params) -> {
                builder.startObject();
                if (fieldSet.contains(CLUSTER_NAME)) {
                    builder.field(CLUSTER_NAME, response.getClusterName());
                }
                if (fieldSet.contains(STATUS)) {
                    builder.field(STATUS, response.getStatus().name().toLowerCase(Locale.ROOT));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  6. clause/on_conflict.go

    func (onConflict OnConflict) Build(builder Builder) {
    	if onConflict.OnConstraint != "" {
    		builder.WriteString("ON CONSTRAINT ")
    		builder.WriteString(onConflict.OnConstraint)
    		builder.WriteByte(' ')
    	} else {
    		if len(onConflict.Columns) > 0 {
    			builder.WriteByte('(')
    			for idx, column := range onConflict.Columns {
    				if idx > 0 {
    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(column)
    			}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.initialCapacity(-1));
      }
    
      public void testInitialCapacity_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().initialCapacity(16);
        assertThrows(IllegalStateException.class, () -> builder.initialCapacity(16));
      }
    
      @GwtIncompatible // CacheTesting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testBuilder_presize_zero() {
        ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(0);
        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        this.streamHandler = builder.streamHandler
        this.webSocketListener = builder.webSocketListener
        this.inTunnel = builder.inTunnel
        this.informationalResponses = builder.informationalResponses.toList()
        this.throttleBytesPerPeriod = builder.throttleBytesPerPeriod
        this.throttlePeriodNanos = builder.throttlePeriodNanos
        this.socketPolicy = builder.socketPolicy
        this.bodyDelayNanos = builder.bodyDelayNanos
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
            cl.call()
            def parent = sibling.parentNode
            def next = sibling.nextSibling
            builder.elements.each { element ->
                parent.insertBefore(element, next)
            }
            return builder.elements.size() == 1 ? builder.elements[0] : builder.elements
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top