- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,919 for real (2.07 sec)
-
guava/src/com/google/common/io/ByteStreams.java
int off = (int) expectedSize - remaining; int read = in.read(bytes, off, remaining); if (read == -1) { // end of stream before reading expectedSize bytes // just return the bytes read so far return Arrays.copyOf(bytes, off); } remaining -= read; } // bytes is now full int b = in.read(); if (b == -1) { return bytes; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn_test.go
defer deadlineconn.Close() // Read a line b := make([]byte, 12) _, terr = deadlineconn.Read(b) if terr != nil { t.Errorf("failed to read from client. %v", terr) return } received := string(b) if received != "message one\n" { t.Errorf(`server: expected: "message one\n", got: %v`, received) return } // Wait for more than read timeout to simulate processing.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 17:15:17 UTC 2024 - 4.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
/** * Generic interface to read/write objects to/from XML. * * @param <T> the object type to read/write * @since 4.0.0 */ @Experimental public interface XmlFactory<T> extends Service { @Nonnull default T read(@Nonnull Path path) throws XmlReaderException { return read(path, true); } @Nonnull default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java
* @throws XmlPullParserException XmlPullParserException if * any. * @see XmlStreamReader */ public PersistedToolchains read(Reader reader) throws IOException, XmlPullParserException { return read(reader, true); } /** * Method read. * * @param in a in object. * @param strict a strict object. * @return PersistedToolchainsRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat May 31 10:30:45 UTC 2025 - 5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java
public ClassRealm getRealm() { return realm; } public List<Artifact> getArtifacts() { return artifacts; } private final ClassRealm realm; private final List<Artifact> artifacts; public CacheRecord(ClassRealm realm, List<Artifact> artifacts) { this.realm = realm; this.artifacts = artifacts; } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 3.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; import org.codehaus.plexus.classworlds.realm.ClassRealm; import org.codehaus.plexus.classworlds.realm.NoSuchRealmException; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable; import org.eclipse.aether.graph.DependencyFilter; /** * Default project realm cache implementation. Assumes cached data does not change. */ @Named @Singleton
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
/** * Read and Write caching (RW) */ public static final int SMB2_LEASE_READ_WRITE = 0x05; /** * Full caching - Read, Write and Handle (RWH) */ public static final int SMB2_LEASE_FULL = 0x07; private Smb2LeaseState() { // Utility class } /** * Check if state has read caching * @param state lease stateRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
String remotePath = repository.pathOfRemoteRepositoryMetadata(metadata); getRemoteFile(repository, destination, remotePath, null, checksumPolicy, true); } /** * Deal with connecting to a wagon repository taking into account authentication and proxies. * * @param wagon * @param repository * * @throws ConnectionException
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB1 Read AndX Response message. * * This response contains the data that was read from the file * along with information about the read operation. */ public class SmbComReadAndXResponse extends AndXServerMessageBlock { private byte[] data; private int offset, dataCompactionMode, dataLength, dataOffset; /** * Constructs a Read AndX response. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0)