Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,781 for buildup (0.07 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            IllegalArgumentException.class, () -> ImmutableMultimap.builder().expectedValuesPerKey(-1));
      }
    
      public void testBuilderWithExpectedValuesPerKeyZero() {
        ImmutableMultimap.Builder<String, String> builder =
            ImmutableMultimap.<String, String>builder().expectedValuesPerKey(0);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
          assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
          assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

      private static final int MAX_BOUND = 10;
    
      static {
        ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder();
    
        builder.add(Range.<Integer>all());
    
        // Add one-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        builder.addCopies("a", 2);
        builder.add("b");
        builder.add("c");
        builder.setCount("b", 0);
        ImmutableMultiset<String> multiset = builder.build();
        assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder();
        builder.add("b");
        assertThat(builder.build().elementSet()).containsExactly("a", "c", "b").inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      @Test
      fun cookieBuilder() {
        var builder: Cookie.Builder = Cookie.Builder()
        builder = builder.name("")
        builder = builder.value("")
        builder = builder.expiresAt(0L)
        builder = builder.domain("")
        builder = builder.hostOnlyDomain("")
        builder = builder.path("")
        builder = builder.secure()
        builder = builder.httpOnly()
        builder = builder.sameSite("None")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body("seed connection")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .code(421)
            .body("misdirected!")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("after misdirect")
            .build(),
        )
    
        // Seed the connection pool.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. clause/locking.go

    func (locking Locking) Name() string {
    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    		builder.WriteQuoted(locking.Table)
    	}
    
    	if locking.Options != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(locking.Options)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 773 bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

          "CallEnd",
        )
      }
    
      private fun newEventSource(accept: String? = null): EventSource {
        val builder =
          Request.Builder()
            .url(server.url("/"))
        if (accept != null) {
          builder.header("Accept", accept)
        }
        val request = builder.build()
        val factory = createFactory(client)
        return factory.newEventSource(request, listener)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. clause/values.go

    func (Values) Name() string {
    	return "VALUES"
    }
    
    // Build build from clause
    func (values Values) Build(builder Builder) {
    	if len(values.Columns) > 0 {
    		builder.WriteByte('(')
    		for idx, column := range values.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(column)
    		}
    		builder.WriteByte(')')
    
    		builder.WriteString(" VALUES ")
    
    		for idx, value := range values.Values {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun May 24 03:35:19 UTC 2020
    - 849 bytes
    - Viewed (0)
  10. clause/insert.go

    func (insert Insert) Name() string {
    	return "INSERT"
    }
    
    // Build build insert clause
    func (insert Insert) Build(builder Builder) {
    	if insert.Modifier != "" {
    		builder.WriteString(insert.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	builder.WriteString("INTO ")
    	if insert.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(insert.Table)
    	}
    }
    
    // MergeClause merge insert clause
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 767 bytes
    - Viewed (0)
Back to top