Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 1,129 for unsafe (0.1 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
     * @see Session#getData()
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Collections2.java

        }
    
        void calculateNextPermutation() {
          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/HostAndPort.java

    import java.io.Serializable;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * {@snippet :
     * HostAndPort hp =
     *     HostAndPort.fromString("[2001:db8::1]")
     *         .withDefaultPort(80)
     *         .requireBracketsForIPv6();
     * hp.getHost();  // returns "2001:db8::1"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java

     *
     * <p>This class supports both GET and POST methods for token and login
     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
     * Map<String, String> params = new HashMap<>();
     * params.put("token_url", "http://example.com/token");
     * params.put("login_url", "http://example.com/login");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

     * </ol>
     *
     * <p>The crawler can be configured with various parameters, such as the number of threads,
     * the maximum depth of crawling, and URL filters.
     *
     * <p>Example usage:
     * <pre>
     *   Crawler crawler = new Crawler();
     *   crawler.addUrl("http://example.com/");
     *   crawler.execute();
     *   crawler.close();
     * </pre>
     */
    public class Crawler implements Runnable, AutoCloseable {
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 17K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, null);
    
            iterator.close();
            iterator.close(); // Second close should be safe
    
            // Then: Tree handle should be released only once
            verify(treeHandle, times(1)).release();
        }
    
        @Test
        @DisplayName("Iterator should handle filter that rejects all entries")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/AllocInfoTest.java

                    assertEquals(size, allocInfo.getCapacity());
                    assertEquals(size / 2, allocInfo.getFree());
                }
            }
        }
    
        @Nested
        @DisplayName("Usage Pattern Tests")
        class UsagePatternTests {
    
            @Test
            @DisplayName("Should support percentage calculation pattern")
            void shouldSupportPercentageCalculationPattern() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

     *
     * <p>This class supports both GET and POST methods for token and login
     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
     * Map<String, String> params = new HashMap<>();
     * params.put("token_url", "http://example.com/token");
     * params.put("login_url", "http://example.com/login");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          // assumes that each set is a singleton or less (as is done for the samples)
          for (Object elem : elements) {
            @SuppressWarnings("unchecked") // safe by generator contract
            Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem;
            Integer value = getOnlyElement(entry.getValue());
            builder.put(entry.getKey(), value);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. docs/fr/docs/index.md

    Dépendances optionnelles supplémentaires pour Pydantic :
    
    * [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - pour la gestion des paramètres.
    * [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - pour des types supplémentaires à utiliser avec Pydantic.
    
    Dépendances optionnelles supplémentaires pour FastAPI :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
Back to Top