Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 257 for getErr (0.06 seconds)

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

            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
            assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
            assertSame(mockCtx, file.getContext(), "SmbFile must use the provided CIFSContext");
            verify(mockCtx, atLeastOnce()).getConfig(); // interaction with dependency
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. CLAUDE.md

    int count = ds.getCount(sessionId);
    
    // Get by URL
    AccessResult result = ds.getAccessResult(sessionId, url);
    
    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
        System.out.println(accessResult.getContent());
    });
    
    // Cleanup
    ds.delete(sessionId);
    ```
    
    ### Resource Cleanup Pattern
    
    ```java
    // Always use try-with-resources for ResponseData
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 28 17:31:34 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            data[0] = 99;
            assertFalse(original.equals(copy), "After mutation, original should not equal previous clone");
    
            // Ensure arrays are independent: mutate clone's buffer via getter
            copy.get()[1] = 77;
            assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. cmd/object-handlers.go

    				// proxy to replication target if site replication is in place.
    				tags, gerr := proxyGetTaggingToRepTarget(ctx, bucket, object, opts, proxytgts)
    				if gerr.Err != nil || tags == nil {
    					globalReplicationStats.Load().incProxy(bucket, getObjectTaggingAPI, true)
    					writeErrorResponse(ctx, w, toAPIError(ctx, gerr.Err), r.URL)
    					return
    				} // overlay tags from peer site.
    				ot = tags
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                System.setOut(new PrintStream(outStream, true));
                final PrintStream originalErrStream = System.err;
                final ByteArrayOutputStream errStream = new ByteArrayOutputStream();
                System.setErr(new PrintStream(errStream, true));
                try {
                    final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 30.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        public ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    repository.getId(),
                    repository.getUrl(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbResourceLocator.java

         */
        int getPort();
    
        /**
         * Returns the original URL object used to create this SMB resource.
         *
         * @return the original URL
         */
        URL getURL();
    
        /**
         * Returns the resolved network address of the server hosting this SMB resource.
         *
         * @return resolved server address
         * @throws CIFSException if the address cannot be resolved
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

     * It also supports sitemap extensions such as images, videos, news, and alternate links.
     * It implements the {@link Sitemap} interface.
     * </p>
     *
     * <p>
     * The {@code SitemapUrl} class provides getter and setter methods for each of these properties,
     * as well as implementations for {@code equals()}, {@code hashCode()}, and {@code toString()} methods.
     * </p>
     *
     */
    public class SitemapUrl implements Sitemap {
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:34:36 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            item.put("id", artifact.getName() + ":" + artifact.getVersion());
            item.put("name", artifact.getName());
            item.put("version", artifact.getVersion());
            item.put("url", artifact.getUrl());
            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
            final String[] values = form.id.split(":");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top