Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 853 for Resources (0.04 sec)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that the handle is automatically closed in a try-with-resources statement.
             * @throws Exception if an error occurs.
             */
            @Test
            public void testTryWithResources() throws Exception {
                // This test ensures that any implementation of SmbPipeHandle can be used in a try-with-resources block.
                try (SmbPipeHandle handle = smbPipeHandle) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. docs/sts/client-grants.py

    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    bc_session = get_session()
    bc_session.get_component('credential_provider').insert_before(
        'env',
        ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
                                       '0Z4VTG8uJBSekn42HE40DK9vQb4a'),
    )
    
    boto3_session = Session(botocore_session=bc_session)
    s3 = boto3_session.resource('s3', endpoint_url='http://localhost:9000')
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         */
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        /**
         * Destroys the web API filter and cleans up resources.
         */
        @Override
        public void destroy() {
            // nothing
        }
    
        /**
         * Filters HTTP requests and processes them through appropriate web API managers.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

        cleanCheckout: Boolean = true,
    ) : BasePromotionBuildType(cleanCheckout) {
        init {
            artifactRules =
                """
                **/build/git-checkout/platforms/core-runtime/base-services/build/generated-resources/build-receipt/org/gradle/build-receipt.properties
                **/build/distributions/*.zip => promote-build-distributions
                **/build/releases-data-checkout/data/releases.xml
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jun 26 12:10:23 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
                authRef = auth;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

      fun request(): Request
    
      /**
       * Invokes the request immediately, and blocks until the response can be processed or is in error.
       *
       * To avoid leaking resources callers should close the [Response] which in turn will close the
       * underlying [ResponseBody].
       *
       * ```java
       * // ensure the response (and underlying response body) is closed
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
       * @param r the object to read from
       * @return a mutable {@link List} containing all the lines
       * @throws IOException if an I/O error occurs
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertNotNull(resource1, "First resource should be created");
            assertNotNull(resource2, "Second resource should be created");
            assertNotNull(pipe1, "First pipe should be created");
            assertNotNull(pipe2, "Second pipe should be created");
    
            assertNotSame(resource1, resource2, "Different resources should be different instances");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    
                Artifact artifact = createArtifact("artifact", "1.0");
    
                File file = new File(artifactBasedir, "artifact-1.0.jar");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                                                    newPlugin("maven-compiler-plugin", "compile", "testCompile"),
                                                    newPlugin("maven-resources-plugin", "resources", "testResources"),
                                                    newPlugin("maven-surefire-plugin", "test"),
                                                    newPlugin("maven-jar-plugin", "jar"),
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top