Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 494 for safety (0.05 sec)

  1. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
            Map<String, ?> returned = entries[0].getOptions();
    
            // Assert: sanity check and verify that no mutating calls were made after construction
            assertEquals("true", returned.get("refreshKrb5Config"));
            verify(spyOpts, never()).put(any(), any());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertTrue(nonce1.length > 0, "Secure nonce should have proper length");
        }
    
        @Test
        @DisplayName("Should handle concurrent secure nonce generation safely")
        void testConcurrentSecureNonceGeneration() throws InterruptedException {
            // Given
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            ArtifactRepository rr2 = repositorySystem.createDefaultRemoteRepository();
            a2.setDependencyFilter(new ExcludesArtifactFilter(Arrays.asList("foo")));
    
            // sanity checks
            assertNotSame(a1, a2);
            assertNotSame(lr1, lr2);
            assertNotSame(rr1, rr2);
    
            DefaultMavenMetadataCache.CacheKey k1 =
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

          throws ExecutionException {
        try {
          return future.get();
        } catch (InterruptedException e) {
          // Should never be thrown in GWT but play it safe
          throw new IllegalStateException(e);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java

     * under the License.
     */
    
    /**
     * Provides an immutable XML processing API for Maven, offering classes and interfaces
     * for reading, manipulating, and writing XML documents in a thread-safe manner.
     * This package is used extensively for POM, settings, and other Maven configuration files.
     *
     * @since 4.0.0
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Mar 04 14:17:18 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
            @DisplayName("Should handle concurrent access safely")
            void testConcurrentAccess() throws InterruptedException {
                // Given
                byte[] buffer1 = new byte[10];
                byte[] buffer2 = new byte[10];
                SMBUtil.writeInt2(4, buffer1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field>
              <name>threadSafe</name>
              <version>1.0.0/1.1.0</version>
              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/Escapers.java

        private Builder() {}
    
        /**
         * Sets the safe range of characters for the escaper. Characters in this range that have no
         * explicit replacement are considered 'safe' and remain unescaped in the output. If {@code
         * safeMax < safeMin} then the safe range is empty.
         *
         * @param safeMin the lowest 'safe' character
         * @param safeMax the highest 'safe' character
         * @return the builder instance
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/ThreadSafe.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code ThreadSafe} annotation can be used to indicate a given type
     * is thread safe.  {@link Immutable} objects are automatically thread safe.
     *
     * @see Immutable
     * @see NotThreadSafe
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.TYPE)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top