Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,090 for safe (0.08 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        }
      }
    
      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/NullnessCasts.java

    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Parameter.java

        @Nullable A[] result =
            FluentIterable.from(annotations).filter(annotationType).toArray(annotationType);
        @SuppressWarnings("nullness") // safe because the input list contains no nulls
        A[] cast = (A[]) result;
        return cast;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Parameter) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                        SmbConstants.FILE_NO_SHARE, attrs, 0);
            } catch (final SmbAuthException sae) {
                log.trace("copyTo0", sae);
                final int dattrs = dest.getAttributes();
                if ((dattrs & SmbConstants.ATTR_READONLY) != 0) {
                    /*
                     * Remove READONLY and try again
                     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // Then
            assertNotNull(exception.getContext());
            assertTrue(exception.getContext().isEmpty());
    
            // Adding null context should be safe
            exception.withContext(null);
            assertTrue(exception.getContext().isEmpty());
        }
    
        @Test
        @DisplayName("Should be serializable")
        void testSerialization() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. docs/distributed/README.md

    - **Each object is written to a single EC set, and therefore is spread over no more than 16 drives.**
    - **All the nodes running distributed MinIO setup are recommended to be homogeneous, i.e. same operating system, same number of drives and same network interconnects.**
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. ci/official/utilities/code_check_changed_files.bats

    setup_file() {
        bazel version  # Start the bazel server
    
        # Fixes "fatal: detected dubious ownership in repository" for Docker.
        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractValueGraph.java

      }
    
      private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(ValueGraph<N, V> graph) {
        return Maps.asMap(
            graph.edges(),
            edge ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      private final class AsMapOfRanges extends IteratorBasedAbstractMap<Range<K>, V> {
    
        final Iterable<Entry<Range<K>, V>> entryIterable;
    
        @SuppressWarnings("unchecked") // it's safe to upcast iterables
        AsMapOfRanges(Iterable<RangeMapEntry<K, V>> entryIterable) {
          this.entryIterable = (Iterable) entryIterable;
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            public void clearRules() {
                rules.clear();
            }
    
            public List<Rule> getRules() {
                return new ArrayList<>(rules);
            }
        }
    
        /**
         * Thread-safe implementation of RuleManager
         */
        public static class ThreadSafeRuleManager implements RuleManager {
            private final List<Rule> rules = new CopyOnWriteArrayList<>();
    
            @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top