Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 790 for ensure (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(800, cmd.maxDataCount, "maxDataCount should be 800");
            assertEquals(0, cmd.maxSetupCount, "maxSetupCount should be 0");
            // ensure information level is stored using reflection
            Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel");
            informationLevelField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSource failSource = new TestByteSource(new byte[10], option);
          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * want the user to modify <code>&lt;build&gt;&lt;finalName/&gt;&lt;/build&gt;</code> rather than specifying a value
         * for finalName directly in the plugin configuration section. It is also useful to ensure that - for example - a
         * List-typed parameter which expects items of type Artifact doesn't get a List full of Strings.
         *
         * @return <code>true</code> if the user should not be allowed to configure the parameter directly
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/README.md

    used on the CLASSPATH of users outside your own control), you should
    not use beta APIs, unless you [repackage] them. **If your
    code is a library, we strongly recommend using the [Guava Beta Checker] to
    ensure that you do not use any `@Beta` APIs!**
    
    [Guava Beta Checker]: https://github.com/google/guava-beta-checker
    
    <!-- References -->
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 18:38:35 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java

    package jcifs.internal.smb2;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Echo request message.
     *
     * This command is used to test connectivity and ensure the
     * SMB2 connection is still active.
     *
     * @author mbechler
     */
    public class Smb2EchoRequest extends ServerMessageBlock2Request<Smb2EchoResponse> {
    
        /**
         * Constructs an SMB2 echo request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SpnegoContextTest.java

        void testIsSupportedAlwaysFalse() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier any = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            assertFalse(ctx.isSupported(any));
            // Ensure delegate is not consulted
            verify(this.mechContext, never()).isSupported(any);
        }
    
        @Test
        @DisplayName("initSecContext with empty len returns initial NegTokenInit and delegates to mechContext")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

        @Inject
        private LegacySupport legacySupport;
    
        private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>();
    
        /**
         * @deprecated we want to use the artifact method only, and ensure artifact.file is set
         *             correctly.
         */
        @Deprecated
        @Override
        public void deploy(
                String basedir,
                String finalName,
                Artifact artifact,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentCache.java

    import java.nio.file.Files;
    import java.util.logging.Logger;
    
    /**
     * ContentCache is a class that provides a way to cache content either in memory or in a file.
     * It implements the Closeable interface to ensure that resources are properly released.
     *
     * <p>This class supports two types of content caching:
     * <ul>
     *   <li>In-memory caching using a byte array</li>
     *   <li>File-based caching using a File object</li>
     * </ul>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top