Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 2,945 for methods (0.07 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
        return rValue;
      }
    
      /**
       * Subclasses can override this method to implement interruption of the future's computation. The
       * method is invoked automatically by a successful call to {@link #cancel(boolean) cancel(true)}.
       *
       * <p>The default implementation does nothing.
       *
       * <p>This method is likely to be deprecated. Prefer to override {@link #afterDone}, checking
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

            }
            return OptionalThing.empty();
        }
    
        /**
         * Configuration class that holds parsed configuration values for a field.
         * This class parses pipe-separated configuration values and provides methods
         * to check for specific configuration options.
         */
        public static class Config {
    
            /**
             * Array of parsed configuration values split by pipe character and trimmed.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        private InputStream mockInputStream;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            packet = new TestSessionServicePacket();
        }
    
        // Tests for static methods
    
        @Test
        @DisplayName("writeInt2 should correctly write 16-bit integer")
        void testWriteInt2() {
            byte[] dst = new byte[4];
            SessionServicePacket.writeInt2(0x1234, dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     *   <li>Automatically reloads properties if the file is modified.</li>
     *   <li>Supports custom check intervals for file modification checks.</li>
     *   <li>Provides synchronized methods for loading and storing properties.</li>
     *   <li>Extends {@link Properties} and overrides its methods to work with dynamic properties.</li>
     * </ul>
     *
     * <p>Usage:
     * <pre>
     * DynamicProperties dynamicProperties = new DynamicProperties("path/to/properties/file");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/EncdecTest.java

        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Method method : testMethods) {
          suite.addTest(new CharSourceTester(factory, string, name, desc, method));
        }
        return suite;
      }
    
      private final ImmutableList<String> expectedLines;
    
      private CharSource source;
    
      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/LongAdder.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * One or more variables that together maintain an initially zero {@code long} sum. When updates
     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

     * be no logging set up even. Implementations may be "accumulating", in which case {@link #drain()}  method should
     * be used.
     * <p>
     * This interface provides methods for logging messages at different severity levels
     * and supports logging with or without associated exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Logger {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0));
        }
    
        @Nested
        @DisplayName("read methods are no‑ops")
        class ReadMethods {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo");
    
            @Test
            void setup() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

            builder.put(i, elements[i]);
          }
          return builder.build().values().asList();
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public SortedMapGenerators() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top