Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,393 for orange (0.04 sec)

  1. tests/prepared_stmt_test.go

    			tx.First(&result)
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts.Keys()), 2)
    	for _, stmt := range conn.Stmts.Keys() {
    		if stmt == "" {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. docs/distributed/DESIGN.md

            total := serverPools.TotalAvailable()
            // choose when we reach this many
            choose := rand.Uint64() % total
            atTotal := uint64(0)
            for _, pool := range serverPools {
                    atTotal += pool.Available
                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            // Test with various international characters
            assertEquals("äöü", queryCommand.toLowercaseWildcard("ÄÖÜ"));
            assertEquals("日本語", queryCommand.toLowercaseWildcard("日本語")); // Japanese doesn't change
            assertEquals("test日本語", queryCommand.toLowercaseWildcard("TEST日本語"));
        }
    
        public void test_getQueryClassName() {
            assertEquals("WildcardQuery", queryCommand.getQueryClassName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingList.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingList} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
     * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
     * either providing your own implementation, or delegating to the provided {@code standardAdd}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
           * removal of a feature.
           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
          //
          seenExceptionsLocal = newConcurrentHashSet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Resources.java

       */
      public static List<String> readLines(URL url, Charset charset) throws IOException {
        // don't use asCharSource(url, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return readLines(
            url,
            charset,
            new LineProcessor<List<String>>() {
              final List<String> result = new ArrayList<>();
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link NavigableSet} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            webFsIndexHelper.setCrawlingExecutionInterval(-1000L);
            assertEquals(-1000L, webFsIndexHelper.crawlingExecutionInterval);
    
            // Test setting out of normal thread priority range
            webFsIndexHelper.setIndexUpdaterPriority(0);
            assertEquals(0, webFsIndexHelper.indexUpdaterPriority);
    
            webFsIndexHelper.setCrawlerPriority(20);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            double entropy = (double) uniqueBytes / 256.0;
    
            // Estimate compression ratio based on entropy
            // Lower entropy = better compression
            return 0.3 + (entropy * 0.6); // Range from 30% to 90%
        }
    
        @Override
        public int getMinCompressionSize() {
            return MIN_COMPRESSION_SIZE;
        }
    
        @Override
        public int getMaxCompressionSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top