Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3451 - 3460 of 5,931 for publish (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof UnhashableObject) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Apr 10 20:12:40 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CountTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
      }
    
      public void testAddAndGet() {
        Count holder = new Count(20);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * Initializes the process management system with default timeout values.
         */
        public ProcessHelper() {
            // Default constructor
        }
    
        /**
         * Cleanup method called when the bean is destroyed.
         * Stops all running processes and cleans up resources.
         */
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
      protected CharSink() {}
    
      /**
       * Opens a new {@link Writer} for writing to this sink. This method returns a new, independent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

            }
          }
        };
      }
    
      @Override
      public int size() {
        Set<E> delegate = delegateOrNull();
        return (delegate != null) ? delegate.size() : size;
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public @Nullable Object[] toArray() {
        if (needsAllocArrays()) {
          return new Object[0];
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LittleEndianByteArray.java

        INSTANCE {
          @Override
          public long getLongLittleEndian(byte[] array, int offset) {
            return (long) HANDLE.get(array, offset);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            HANDLE.set(array, offset, value);
          }
        };
    
        @Override
        public boolean usesFastPath() {
          return true;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     */
    @GwtCompatible
    @NullMarked
    @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

     * {@code Thread.ofPlatform().priority(priority).daemon(false).factory()}.
     *
     * @author Kurt Alfred Kluever
     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ThreadFactoryBuilder {
      private @Nullable String nameFormat = null;
      private @Nullable Boolean daemon = null;
      private @Nullable Integer priority = null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     * Tester for {@code Spliterator} implementations.
     *
     * @since 21.0 (but only since 33.4.0 in the Android flavor)
     */
    @GwtCompatible
    @NullMarked
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

        }
    
        @Test
        void testReadByte() throws SmbException {
            // Mock the read operation to return a specific byte
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    SmbComReadAndX readCmd = invocation.getArgument(0);
                    SmbComReadAndXResponse response = invocation.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top