Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 414 for consistently (0.17 seconds)

  1. src/main/java/jcifs/smb/JAASAuthenticator.java

                this.cachedSubject = s;
                return this.cachedSubject;
            } catch (LoginException e) {
                log.error("Failed to create login context", e);
                // Cache null to ensure consistent behavior across calls
                this.cachedSubject = null;
                return null;
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbRenewableCredentials#renew()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/graph/EndpointPair.java

       */
      public abstract N target();
    
      /**
       * If this {@link EndpointPair} {@link #isOrdered()} returns the {@link #source()}; otherwise,
       * returns an arbitrary (but consistent) endpoint of the origin edge.
       */
      public final N nodeU() {
        return nodeU;
      }
    
      /**
       * Returns the node {@link #adjacentNode(Object) adjacent} to {@link #nodeU()} along the origin
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            for (Thread t : threads) {
                t.start();
            }
    
            // Wait for completion
            for (Thread t : threads) {
                t.join();
            }
    
            // Verify consistency
            SimpleCircuitBreaker.Statistics stats = breaker.getStatistics();
            assertEquals(successCount.get() + failureCount.get(), stats.totalSuccesses + stats.totalFailures + stats.rejectedCalls);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            long actualSize = MemoryUtil.sizeOf(complexMap);
            assertEquals(689L, actualSize);
        }
    
        @Test
        public void test_getUsedMemory_variations() {
            // Test multiple calls to ensure consistency
            long memory1 = MemoryUtil.getUsedMemory();
            assertTrue(memory1 >= 0);
    
            // Create some objects to change memory usage
            @SuppressWarnings("unused")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * listeners, see {@link Futures}. For a simplified but general listener interface, see {@link
       * Futures#addCallback addCallback()}.
       *
       * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a
       * href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-17.html#jls-17.4.5">
       * <i>happen-before</i></a> its execution begins, perhaps in another thread.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // Null netName
            SmbShareInfo info3 = new SmbShareInfo();
            assertEquals(0, info3.hashCode()); // Objects.hashCode(null) returns 0
        }
    
        @Test
        @DisplayName("Test hashCode consistency")
        void testHashCodeConsistency() {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            int hashCode1 = info.hashCode();
            int hashCode2 = info.hashCode();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() appear consistent to javac's type inference.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      abstract static class CachingAsList<E> extends ImmutableSet<E> {
        @LazyInit private transient ImmutableList<E> asList;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                int expectedAlignedSize = (expectedSize + 7) & ~7;
    
                assertEquals(expectedAlignedSize, echoRequest.size());
            }
    
            @Test
            @DisplayName("Size should be consistent across multiple calls")
            void testSizeConsistency() {
                int size1 = echoRequest.size();
                int size2 = echoRequest.size();
    
                assertEquals(size1, size2);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

        }
    
        if (hasLowerBound && hasUpperBound) {
          int cmp =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(upperEndpoint));
          // be consistent with Range
          checkArgument(
              cmp <= 0, "lowerEndpoint (%s) > upperEndpoint (%s)", lowerEndpoint, upperEndpoint);
          if (cmp == 0) {
            checkArgument(lowerBoundType != OPEN || upperBoundType != OPEN);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            // Values should be the same
            assertEquals("Test Fess", value1);
            assertEquals(value1, value2);
        }
    
        // Test property that should be consistent
        @Test
        public void test_get_propertyFilter() {
            // Test a regular property that passes through
            String value = fessConfig.get("domain.title");
            assertEquals("Test Fess", value);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top