Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2341 - 2350 of 2,451 for Booleans (0.34 seconds)

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

      }
    
      public void testTransformEntriesExample() {
        Map<String, Boolean> options = ImmutableMap.of("verbose", true, "sort", false);
        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
              public String transformEntry(String key, Boolean value) {
                return value ? key : "no" + key;
              }
            };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 65K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(status.equals(nullStatus));
    
            // null == Enum should be false
            assertFalse(nullStatus == status);
    
            // Verify no NullPointerException when comparing with ==
            boolean result = (nullStatus == CrawlerStatus.INITIALIZING);
            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

            }
    
            final byte[] targetInfo = readSecurityBuffer(input, pos);
            if (targetInfo.length != 0) {
                setTargetInformation(targetInfo);
            }
        }
    
        private static boolean allZeros8(final byte[] input, final int pos) {
            for (int i = pos; i < pos + 8; i++) {
                if (input[i] != 0) {
                    return false;
                }
            }
            return true;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      override fun close() = source().closeQuietly()
    
      internal class BomAwareReader(
        private val source: BufferedSource,
        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
      }
    
      private static void assertCancelled(AbstractFuture<Integer> future, boolean expectWasInterrupted)
          throws InterruptedException, TimeoutException, ExecutionException {
        assertDone(future);
        assertThat(future.isCancelled()).isTrue();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
      boolean strictParsing = true;
    
      int initialCapacity = UNSET_INT;
      int concurrencyLevel = UNSET_INT;
      long maximumSize = UNSET_INT;
      long maximumWeight = UNSET_INT;
      @Nullable Weigher<? super K, ? super V> weigher;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                throwValidationError(messages -> messages.addErrorsFailedToWriteDesignImageFile(GLOBAL), this::asListHtml);
            }
            return redirect(getClass());
        }
    
        private boolean checkFileType(final String fileName, final String[] exts) {
            if (fileName == null) {
                return false;
            }
            final String lFileName = fileName.toLowerCase(Locale.ENGLISH);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

        private FesenClient fesenClient;
    
        private OpenSearchRunner runner;
    
        @Override
        protected String prepareConfigFile() {
            return "app.xml";
        }
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Override
        public void setUp() throws Exception {
            // create runner instance
            runner = new OpenSearchRunner();
            // create ES nodes
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        // Helper to set private flag 'treeAcquired'
        private static void setTreeAcquired(SmbTreeConnection c, boolean val) {
            try {
                Field f = SmbTreeConnection.class.getDeclaredField("treeAcquired");
                f.setAccessible(true);
                f.set(c, val);
            } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        for (int i = 0; i < operationsPerThread; i++) {
                            try {
                                // Test connection pool operations without actually connecting
                                boolean contains = pool.contains(null); // Should handle gracefully
                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top