Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for lens (0.03 sec)

  1. tests/prepared_stmt_test.go

    	// otherwise, ok will be false and conn will be nil.
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	// Get the number of statement keys stored in the PreparedStmtDB.
    	lens := len(conn.Stmts.Keys())
    	// Check if the number of stored statement keys is 0.
    	if lens == 0 {
    		// If the number is 0, it means there are no statements stored in the LRU cache.
    		// The test fails and an error message is output.
    		t.Fatalf("lru should not be empty")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertFalse(len2.matches(c));
        }
        assertTrue(len3.matches('a'));
        assertTrue(len3.matches('b'));
        assertTrue(len3.matches('c'));
        for (char c = 'd'; c < 'z'; c++) {
          assertFalse(len3.matches(c));
        }
        assertTrue(len4.matches('a'));
        assertTrue(len4.matches('b'));
        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertFalse(len2.matches(c));
        }
        assertTrue(len3.matches('a'));
        assertTrue(len3.matches('b'));
        assertTrue(len3.matches('c'));
        for (char c = 'd'; c < 'z'; c++) {
          assertFalse(len3.matches(c));
        }
        assertTrue(len4.matches('a'));
        assertTrue(len4.matches('b'));
        assertTrue(len4.matches('c'));
        assertTrue(len4.matches('d'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
        long len2 = file2.length();
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
        return asByteSource(file1).contentEquals(asByteSource(file2));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    @NullUnmarked
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/distributed/README.md

    MinIO in distributed mode lets you pool multiple drives (even on different machines) into a single object storage server. As drives are distributed across several nodes, distributed MinIO can withstand multiple node failures and yet ensure full data protection.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/SuccessorsFunction.java

     * additional documentation, including <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#notes-for-implementors">notes for
     * implementors</a>
     *
     * @author Joshua O'Madadhain
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @since 23.0
     */
    @Beta
    @DoNotMock("Implement with a lambda, or use GraphBuilder to build a Graph with the desired edges")
    public interface SuccessorsFunction<N> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
        long len2 = file2.length();
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
        return asByteSource(file1).contentEquals(asByteSource(file2));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

            if (Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Doubles.java

          return ((DoubleArrayAsList) collection).toDoubleArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        double[] array = new double[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = ((Number) checkNotNull(boxedArray[i])).doubleValue();
        }
        return array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
Back to top