Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 772 for safety (0.34 seconds)

  1. okhttp-osgi-tests/build.gradle.kts

           can"t benefit from incremental build acceleration, because on every
           execution it sees that the classpath has changed, and so to be
           safe, it needs to re-run.
    
           - This is unfortunate, because actually it would be safe to declare
           the task as up-to-date, because these two files, which are based on
           the generated index.xml, are outputs, not inputs. We can be sure of
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
       * call cancel() and be unable to cancel the delegate.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

                assertNotNull(results);
                // RRF should merge duplicates and boost their scores
            }
        }
    
        /**
         * Test that close can be called multiple times safely.
         */
        @Test
        public void test_multipleCloseCallsSafe() throws Exception {
            RankFusionProcessor processor = new RankFusionProcessor();
            processor.setSearcher(new TestSearcher(100));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Closeables.java

      /**
       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
       * I/O resource, it should generally be safe in the case of a resource that's being used only for
       * reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                                    + "plugin(s) that have goals not marked as thread-safe to support parallel execution.",
                            "While this /may/ work fine, please look for plugin updates and/or "
                                    + "request plugins be made thread-safe.",
                            "If reporting an issue, report it against the plugin in question, not against Apache Maven.")) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/UnsignedBytes.java

              // Use Unsafe only if we're in a 64-bit JVM with an 8-byte aligned field offset.
              if (Objects.equals(System.getProperty("sun.arch.data.model"), "64")
                  && (offset % 8) == 0
                  // sanity check - this should never fail
                  && scale == 1) {
                return offset;
              }
    
              return OFFSET_UNSAFE_APPROACH_IS_UNAVAILABLE;
            } catch (UnsupportedOperationException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertThat(function.apply("One")).isEqualTo(1);
        assertThat(function.apply("Two")).isNull();
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableList.java

      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        return (E) array[index];
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        // for performance
        // The fake cast to E is safe because the creation methods only allow E's
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    dk.encryptionKey1024 = ek.encryptionKey1024 b = b[EncapsulationKeySize:] if !bytes.Equal(dk.h[:], b[:32]) { return nil, errors.New("mlkem: inconsistent H(ek) in encoded bytes") } b = b[32:] copy(dk.z[:], b) // Generate a random d value for use in Bytes(). This is a safety mechanism // that avoids returning a broken key vs a random key if this function is // called in contravention of the TestingOnlyNewDecaps function // comment advising against it. drbg.Read(dk.d[:]) return dk, nil } // kemKeyGen1024 generates a decapsulation...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. android-test/src/androidDeviceTest/java/okhttp/android/test/StrictModeTest.kt

        applyStrictMode()
    
        // Not currently safe
        // See https://github.com/square/okhttp/pull/8248
        OkHttpClient()
    
        assertThat(violations).hasSize(1)
        assertThat(violations[0].message).isEqualTo("newSSLContext")
      }
    
      @Test
      fun testNewCall() {
        Platform.resetForTests()
    
        val client = OkHttpClient()
    
        applyStrictMode()
    
        // Safe on main
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top