Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,370 for bread (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Read the data
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify results
            assertEquals(20, bytesRead);
            assertEquals(fileAttributes, response.getAttributes());
            assertEquals(fileSize, response.getSize());
    
            // Verify time was read correctly (accounting for UTime conversion)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/request-files.md

    * `write(data)`: Escribe `data` (`str` o `bytes`) en el archivo.
    * `read(size)`: Lee `size` (`int`) bytes/caracteres del archivo.
    * `seek(offset)`: Va a la posición de bytes `offset` (`int`) en el archivo.
        * Por ejemplo, `await myfile.seek(0)` iría al inicio del archivo.
        * Esto es especialmente útil si ejecutas `await myfile.read()` una vez y luego necesitas leer el contenido nuevamente.
    * `close()`: Cierra el archivo.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

                if (cur == null) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                final int nextEntryOffset = cur.getNextEntryOffset();
                if (nextEntryOffset <= 0) {
                    break;
                }
                bufferIndex += nextEntryOffset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    // the Close() function is called.
    type closeNotifier struct {
    	rc   io.ReadCloser
    	done chan struct{}
    }
    
    func (c *closeNotifier) Read(p []byte) (n int, err error) {
    	n, err = c.rc.Read(p)
    	if err != nil {
    		if c.done != nil {
    			xioutil.SafeClose(c.done)
    			c.done = nil
    		}
    	}
    	return n, err
    }
    
    func (c *closeNotifier) Close() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        // If we clip the safe range used during the per-character tests so it is
        // below the values of characters in surrogate pairs, this cannot occur.
        // This approach does mean that we break out of the fast path code in cases
        // where we don't strictly need to, but this situation will almost never
        // occur in practice.
        if (safeMin >= Character.MIN_HIGH_SURROGATE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
        @DisplayName("handle: sets NameCallback and PasswordCallback on happy path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            byte[] smallOutputBuffer = new byte[5];
            TransCallNamedPipeResponse smallResponse = new TransCallNamedPipeResponse(mockConfig, smallOutputBuffer);
    
            byte[] buffer = new byte[100];
    
            // Try to read more data than output buffer can hold
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> smallResponse.readDataWireFormat(buffer, 0, 10));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                        break;
                    }
    
                    log.debug("RDMA operation failed (attempt {} of {}), retrying: {}", retryCount + 1, maxRetries + 1, error.getMessage());
    
                    // Attempt recovery if needed
                    if (!handleRdmaError(connection, error)) {
                        break; // Recovery failed, don't retry
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

                switch (entry.severity) {
                case CRITICAL:
                case ERROR:
                    auditLog.error(jsonStr);
                    break;
                case WARNING:
                    auditLog.warn(jsonStr);
                    break;
                default:
                    auditLog.info(jsonStr);
                }
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                handleResourceChange(notification);
                break;
    
            case CLIENT_MOVE:
                handleClientMove(notification);
                break;
    
            case SHARE_MOVE:
                handleShareMove(notification);
                break;
    
            case IP_CHANGE:
                handleIPChange(notification);
                break;
    
            case NODE_UNAVAILABLE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top