Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 2,810 for created (0.1 sec)

  1. src/main/java/jcifs/util/ResourceManager.java

                            cleaned++;
                        } catch (Exception e) {
                            log.error("Failed to auto-close resource: {}", holder.resourceId, e);
                        }
                    }
                }
            }
    
            if (cleaned > 0) {
                log.info("Cleaned up {} abandoned resources", cleaned);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
         * @see FileInputStream#FileInputStream(File)
         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
       * Returns an entry with a key greater than the keys of the {@link #samples()} but less than the
       * key of {@link #aboveSamplesGreater()}.
       */
      Entry<K, V> aboveSamplesLesser();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource2);
    
            assertFalse(resource1.isClosed());
            assertFalse(resource2.isClosed());
    
            int cleaned = resourceManager.forceCleanup();
            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SettableFuture.java

     */
    @GwtCompatible
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
      public static <V extends @Nullable Object> SettableFuture<V> create() {
        return new SettableFuture<>();
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean set(@ParametricNullness V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertTrue(bytesRead <= buffer.length);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer
         */
        private byte[] createValidSecurityDescriptorBuffer() {
            return createValidSecurityDescriptorBuffer(100);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer with specified size
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultiset.java

       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
       * Creates a new, empty multiset, sorted according to the specified comparator. All elements
       * inserted into the multiset must be <i>mutually comparable</i> by the specified comparator:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path
            // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral()
            concreteImplementation = createInitializedDfsReferralDataImpl();
        }
    
        private DfsReferralDataImpl createInitializedDfsReferralDataImpl() {
            // Create a properly initialized instance using combine method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

        //                                         -------------
        /**
         * Creates a new label type.
         *
         * @param form the create form
         * @return HTML response after creation
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top