Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,365 for Read (0.02 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/http/NtlmServlet.java

     * properties are be specified. <b>With later containers the
     * {@code NtlmHttpFilter} should be used</b>. For custom NTLM HTTP Authentication schemes the {@code NtlmSsp} may be used.
     *
     * <p>
     * Read <a href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and the Network Explorer Servlet</a> related information.
     */
    
    public abstract class NtlmServlet extends HttpServlet {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i]);
            }
            assertEquals((byte) 0x00, dst[12 + nameBytes.length]);
        }
    
        /**
         * read*WireFormat methods in request return 0 (not implemented for requests).
         */
        @Test
        void testReadWireFormatStubsReturnZero() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

                throws IOException;
    
        /**
         * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read)
         * but not closed.
         *
         * @param stream      The stream for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    		n := 1
    		var base, ext string
    		base = *privKeyPath
    		if idx := strings.LastIndexByte(base, '.'); idx != -1 {
    			ext = base[idx:]
    			base = base[:idx]
    		}
    		for {
    			// Automatically read "file.ext", "file-2.ext", "file-3.ext"...
    			fn := base + ext
    			if n > 1 {
    				fn = fmt.Sprintf("%s-%d%s", base, n, ext)
    			}
    
    			if b, err := os.ReadFile(fn); err == nil {
    				privateKeys = append(privateKeys, b)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. prepare_stmt.go

    		Stmts:    stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL.
    		Mux:      &sync.RWMutex{},              // Sets up a read-write mutex for synchronizing access to the statement store.
    	}
    }
    
    // GetDBConn returns the underlying *sql.DB connection
    func (db *PreparedStmtDB) GetDBConn() (*sql.DB, error) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. cmd/lock-rest-server.go

    	resp := lockRPCRLock.NewResponse()
    	success, err := l.ll.RLock(ctx, *args)
    	if err == nil && !success {
    		err = errLockConflict
    	}
    	return l.makeResp(resp, err)
    }
    
    // RUnlockHandler - releases the acquired read lock.
    func (l *lockRESTServer) RUnlockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRUnlock.NewResponse()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. cmd/storage-interface.go

    	// Write all data, syncs the data to disk.
    	// Should be used for smaller payloads.
    	WriteAll(ctx context.Context, volume string, path string, b []byte) (err error)
    
    	// Read all.
    	ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error)
    	GetDiskLoc() (poolIdx, setIdx, diskIdx int) // Retrieve location indexes.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    	if z.Comment != zt.Comment {
    		t.Errorf("comment=%q, want %q", z.Comment, zt.Comment)
    	}
    	if len(z.File) != len(zt.File) {
    		t.Fatalf("file count=%d, want %d", len(z.File), len(zt.File))
    	}
    
    	// test read of each file
    	for i, ft := range zt.File {
    		readTestFile(t, zt, ft, z.File[i], raw)
    	}
    	if t.Failed() {
    		return
    	}
    
    	// test simultaneous reads
    	n := 0
    	done := make(chan bool)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Verify reserved field is zero
            assertEquals(0, SMBUtil.readInt4(buffer, offset + 28));
        }
    
        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top