Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 866 for read (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
    This class can be extended by applications that wish to trap authentication related exceptions and automatically retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for complete details.
     */
    
    /**
     * An abstract class for NTLM authentication in SMB1 protocol.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    public class TransTransactNamedPipe extends SmbComTransaction {
    
        private static final Logger log = LoggerFactory.getLogger(TransTransactNamedPipe.class);
    
        private final byte[] pipeData;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                }
    
                try {
                    try (InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css");) {
                        while ((n = is.read(buf)) != -1) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
                        this.style = sb.toString();
                    }
                } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		Name:      rcharBytes,
    		Help:      "Total bytes read by the process from the underlying storage system including cache, /proc/[pid]/io rchar",
    		Type:      counterMetric,
    	}
    }
    
    func getMinIOProcessSysCallRMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: sysCallSubsystem,
    		Name:      readTotal,
    		Help:      "Total read SysCalls to the kernel. /proc/[pid]/io syscr",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // When
                int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0);
    
                // Then
                assertEquals(16, bytesRead, "Should read 16 bytes");
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should decode share type");
                assertEquals(0x01, response.getShareFlags(), "Should decode share flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
            if (metadata == null) {
                metadata = this.metadata;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        void testSetFlagFalse() {
            msg.setFlag(0x4, true);
            msg.setFlag(0x4, false);
            assertFalse(msg.getFlag(0x4), "Bit should be cleared after setFlag(false)");
        }
    
        // ---------------- Static read tests -----------------
        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
            byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            }
    
            // Test concurrent reads
            Thread[] readThreads = new Thread[3];
            for (int i = 0; i < readThreads.length; i++) {
                readThreads[i] = new Thread(() -> {
                    for (int j = 0; j < 100; j++) {
                        List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
                        // Just read, don't assert specific counts due to race conditions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    			if err != nil {
    				return entries, fmt.Errorf("remote listing canceled: %w", err)
    			}
    			retries = 1
    		}
    
    		// All operations are performed without locks, so we must be careful and allow for failures.
    		// Read metadata associated with the object from a disk.
    		if retries > 0 {
    			for _, disk := range er.getDisks() {
    				if disk == nil {
    					continue
    				}
    				if !disk.IsOnline() {
    					continue
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    import jcifs.smb1.ntlmssp.Type2Message;
    import jcifs.smb1.ntlmssp.Type3Message;
    import jcifs.smb1.util.Base64;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top