Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 522 for safety (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                zos.write("dangerous content".getBytes());
                zos.closeEntry();
    
                // Valid entry
                ZipEntry validEntry = new ZipEntry("view/safe.ftl");
                zos.putNextEntry(validEntry);
                zos.write("<html>safe</html>".getBytes());
                zos.closeEntry();
            }
        }
    
        private void createMockThemeZipWithDirectories(Path zipPath) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeBasedTable.java

       * TreeBasedTable}.
       */
      public static <R, C, V> TreeBasedTable<R, C, V> create(TreeBasedTable<R, C, ? extends V> table) {
        TreeBasedTable<R, C, V> result =
            // requireNonNull is safe, as discussed in rowComparator() below.
            new TreeBasedTable<>(
                requireNonNull(table.rowKeySet().comparator()), table.columnComparator());
        result.putAll(table);
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/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
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      // Test we can retrieve function OpDef from graph
      TF_Buffer* buffer = TF_NewBuffer();
      TF_GraphGetOpDef(host_graph_, func_name_, buffer, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Sanity check returned OpDef
      string data(static_cast<const char*>(buffer->data), buffer->length);
      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.set(1);
        assertEquals(1, future.get(-1, SECONDS).intValue());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. docs/works_with_okhttp.md

     * ⬜️ [Picasso](https://github.com/square/picasso): A powerful image downloading and caching library for Android.
     * ⬜️ [Retrofit](https://github.com/square/retrofit): Type-safe HTTP client for Android and Java by Square.
     * [ScribeJava](https://github.com/scribejava/scribejava): Simple OAuth library for Java
     * [Stetho](https://github.com/facebook/stetho): Stetho is a debug bridge for Android applications.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

        // Not a valid string
        assertNotWellFormed(-1, 0, -1, 0);
      }
    
      public void testShardsHaveExpectedRoundTrippables() {
        // A sanity check.
        long actual = 0;
        for (long expected : generateFourByteShardsExpectedRunnables()) {
          actual += expected;
        }
        assertEquals(EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT, actual);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test that destroy method can be called without error
            emptyGenerator.destroy();
            // Call destroy multiple times to ensure it's safe
            emptyGenerator.destroy();
            emptyGenerator.destroy();
        }
    
        public void test_isAvailable() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

        return requireNonNull(values);
      }
    
      /*
       * The following methods are safe to call as long as the conditions in the *previous* comment are
       * met *and* the index is less than size().
       *
       * (The above explains when these methods are safe from a `nullness` perspective. From an
       * `unchecked` perspective, they're safe because we put only K/V elements into each array.)
       */
    
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     * credentials. Authenticated connections can/will be reused.
     *
     * @deprecated This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK
     *             versions will allow to do this safely.
     */
    @Deprecated
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final Logger log = LoggerFactory.getLogger(NtlmHttpURLConnection.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top