Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 856 for Given (2.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      /**
       * Generates test cases for the given combination of scenario and timeouts. For methods that take
       * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For
       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

        protected LongConversionUtil() {
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
         *            the object to convert
         * @return the converted {@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * Converts the given object to a {@link Long}.
         *
         * @param o
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSExceptionTest.java

     */
    @DisplayName("CIFSException Tests")
    class CIFSExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create CIFSException with message")
        void testCIFSExceptionWithMessage() {
            // Given
            String message = "CIFS operation failed";
    
            // When
            CIFSException exception = new CIFSException(message);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * Returns a filter for directories that may contain paths accepted by the given matcher.
         * The given path matcher should be an instance created by this service.
         * The path matcher returned by this method expects directory paths.
         * If that matcher returns {@code false}, then the directory will definitively not contain
         * the paths selected by the matcher given in argument to this method.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        /**
         * Performs a lookup for given typed component.
         *
         * @param type The component type.
         * @return The component.
         * @param <T> The component type.
         * @throws LookupException if no such component or there is some provisioning related issue.
         */
        @Nonnull
        <T> T lookup(Class<T> type);
    
        /**
         * Performs a lookup for given typed component.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java

        }
    
        /**
         * Test the writeParameterWordsWireFormat method.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            // Given
            SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect();
            byte[] dst = new byte[10];
    
            // When
            int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/StringsTest.java

        @DisplayName("OEM Encoding Tests")
        class OEMEncodingTests {
    
            @Test
            @DisplayName("getOEMBytes should use configuration encoding")
            void testGetOEMBytes() {
                // Given
                Configuration mockConfig = mock(Configuration.class);
                when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Interpolator extends Service {
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         * This method defaults to setting empty strings for unresolved placeholders.
         *
         * @param properties The map containing key-value pairs to be interpolated.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(File file, Charset charset) {
        return asByteSource(file).asCharSource(charset);
      }
    
      /**
       * Returns a new {@link CharSink} for writing character data to the given file using the given
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top