Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 139 for 1234 (0.02 sec)

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

        assertTrue(multiset.isEmpty());
        reserializeAndAssert(multiset);
      }
    
      public void testCreateFromIterable() {
        Iterable<Integer> iterable = asList(1, 2, 2, 3, 4);
        ConcurrentHashMultiset<Integer> multiset = ConcurrentHashMultiset.create(iterable);
        assertEquals(2, multiset.count(2));
        reserializeAndAssert(multiset);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
        ImmutableListMultimap<String, Integer> multimap = builder.build();
        assertEquals(Arrays.asList(1, 2, 3, 1), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(6, multimap.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    	}
    	if err := s.Err(); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestEmptyTokens(t *testing.T) {
    	testEmptyTokens(t, "1,2,3,", []string{"1", "2", "3", ""})
    }
    
    func TestWithNoEmptyTokens(t *testing.T) {
    	testEmptyTokens(t, "1,2,3", []string{"1", "2", "3"})
    }
    
    func loopAtEOFSplit(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if len(data) > 0 {
    		return 1, data[:1], nil
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version
        quick(true, true, true, 120, 4),
    
        // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version
        platform(true, true, true),
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    * `id`
    * `name`
    * `age`
    * `secret_name`
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:14] hl[12:14] *}
    
    #### `HeroPublic` - the public *data model*
    
    Next, we create a `HeroPublic` model, this is the one that will be **returned** to the clients of the API.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. .teamcity/performance-test-durations.json

      "durations" : [ {
        "testProject" : "largeJavaMultiProject",
        "linux" : 1401
      }, {
        "testProject" : "largeJavaMultiProjectKotlinDsl",
        "linux" : 1232
      }, {
        "testProject" : "largeMonolithicJavaProject",
        "linux" : 494
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.java.JavaFirstUsePerformanceTest.first use",
      "durations" : [ {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 14:38:24 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
        ImmutableListMultimap<String, Integer> multimap = builder.build();
        assertEquals(Arrays.asList(1, 2, 3, 1), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(6, multimap.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    		var buf Buffer
    		buf.WriteRune(r)
    		check(t, fmt.Sprintf("TestWriteInvalidRune (%d)", r), &buf, "\uFFFD")
    	}
    }
    
    func TestNext(t *testing.T) {
    	b := []byte{0, 1, 2, 3, 4}
    	tmp := make([]byte, 5)
    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    			for k := 0; k <= 6; k++ {
    				// 0 <= i <= j <= 5; 0 <= k <= 6
    				// Check that if we start with a buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5), Ordering.<Integer>natural().leastOf(list, Integer.MAX_VALUE));
      }
    
      public void testLeastOfIteratorLargeK() {
        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5),
            Ordering.<Integer>natural().leastOf(list.iterator(), Integer.MAX_VALUE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5), Ordering.<Integer>natural().leastOf(list, Integer.MAX_VALUE));
      }
    
      public void testLeastOfIteratorLargeK() {
        List<Integer> list = asList(4, 2, 3, 5, 1);
        assertEquals(
            asList(1, 2, 3, 4, 5),
            Ordering.<Integer>natural().leastOf(list.iterator(), Integer.MAX_VALUE));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top