Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2961 - 2970 of 4,556 for true (0.02 seconds)

  1. guava/src/com/google/common/collect/CompoundOrdering.java

          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof CompoundOrdering) {
          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java

            } catch (NoSuchMethodException e) {
                throw new RuntimeException(e);
            }
        }
    
        private static Method makeAccessible(Method method) {
            method.setAccessible(true);
            return method;
        }
    
        private static <T> T invoke(Method method, Object instance, Object... args) {
            try {
                Object result = method.invoke(instance, args);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. .github/workflows/mint/nginx-8-node.conf

                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 16:52:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Initially not received
            Method isReceivedMethod = ServerMessageBlock2Response.class.getDeclaredMethod("isReceived");
            isReceivedMethod.setAccessible(true);
            assertFalse((boolean) isReceivedMethod.invoke(response));
    
            // Test reset method
            response.reset();
            assertFalse((boolean) isReceivedMethod.invoke(response));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

      private SetImpl impl;
    
      // the following must be set during setUp
      private CollectionBenchmarkSampleData sampleData;
    
      @BeforeExperiment
      void setUp() {
        sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size);
      }
    
      @Benchmark
      int creation(int reps) {
        int x = 0;
        for (int i = 0; i < reps; i++) {
          x ^= System.identityHashCode(impl.create(sampleData.getValuesInSet()));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            assertNotNull(queryRescorer.evaluate(numberParams));
    
            // Test with boolean parameter
            Map<String, Object> booleanParams = new HashMap<>();
            booleanParams.put("boolean", true);
            assertNotNull(queryRescorer.evaluate(booleanParams));
    
            // Test with unknown parameter
            Map<String, Object> unknownParams = new HashMap<>();
            unknownParams.put("unknown", new Object());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        // signature: we make k 0-based rather than 1-based; and we drop from and to, and always work on
        // the whole array.
        int from = 0;
        int to = array.length - 1;
    
        while (true) {
          if (to <= from + 1) {
            // Two or less elements left.
            if (to == from + 1 && array[to] < array[from]) {
              // Exactly two elements left.
              swap(array, from, to);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

         * One thread sets alive to false, other threads should see the change immediately.
         */
        @Test
        public void test_aliveField_volatileVisibility() throws Exception {
            // Ensure alive starts as true
            assertTrue(dataStore.alive);
    
            final int readerThreadCount = 5;
            final long testDurationMs = 200; // Run for 200ms
            final Thread[] readerThreads = new Thread[readerThreadCount];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
              collection.clear();
            }
            changed = true;
          }
        }
        return changed;
      }
    
      @WeakOuter
      private final class AsMap extends ViewCachingAbstractMap<K, Collection<V>> {
        @Override
        public boolean containsKey(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertEquals(request.size(), encoded);
        }
    
        @Test
        public void testDurableHandleV2RequestPersistent() {
            DurableHandleV2Request request = new DurableHandleV2Request(0, true);
    
            assertEquals(0, request.getTimeoutMs());
            assertTrue(request.isPersistent());
            assertEquals(Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top