Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 669 for 20 (0.14 sec)

  1. tests/query_test.go

    	}
    }
    
    func TestLimit(t *testing.T) {
    	users := []User{
    		{Name: "LimitUser1", Age: 1},
    		{Name: "LimitUser2", Age: 10},
    		{Name: "LimitUser3", Age: 20},
    		{Name: "LimitUser4", Age: 10},
    		{Name: "LimitUser5", Age: 20},
    		{Name: "LimitUser6", Age: 20},
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Order("age desc").Limit(3).Find(&users1).Limit(5).Find(&users2).Limit(-1).Find(&users3)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/Dockerfile

    RUN wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-arm64 -O /usr/local/bin/bazel && chmod +x /usr/local/bin/bazel
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.addAll(Lists.newArrayList(1, 20, 100, 2, 3, 30, 40));
        assertEquals(7, mmHeap.size());
        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        Iterator<Integer> it = mmHeap.iterator();
        assertEquals((Integer) 1, it.next());
        assertEquals((Integer) 20, it.next());
        assertEquals((Integer) 100, it.next());
        assertEquals((Integer) 2, it.next());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        table1.put("foo", 1, 'a');
        assertEquals((Character) 'a', table1.get("foo", 1));
    
        Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0);
        table2.put("foo", 1, 'a');
        assertEquals((Character) 'a', table2.get("foo", 1));
    
        Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20);
        table3.put("foo", 1, 'a');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <tr bgcolor="#ccccff">
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr>
     * <td width="20%"><b>Code Sample</b></td>
     * <td><b>Description</b></td>
     * </tr>
     * <tr>
     * <td width="20%">
     * 
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     * 
     * </td>
     * <td>
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td width="20%"><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
     *  smb://host/share2/zig/zag
     * </code></td>
     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td width="20%"><code>
     *  ../zip/
     * </code></td>
     * <td><code>
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      private static final String ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
      private static final String NONALPHA = "0123456789`~-_=+[]{}|;:',.<>/?!@#$%^&*()\"\\";
    
      @Param({"20", "2000"})
      int size;
    
      @Param({"2", "20"})
      int nonAlphaRatio; // one non-alpha char per this many chars
    
      @Param boolean noWorkToDo;
    
      Random random;
      String testString;
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2Test.java

                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top