- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for readlink (0.56 sec)
-
internal/disk/stat_linux.go
// Check if there is a parent device: // e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the // real device name (nvme0n1) to get its sysfs information parentDevPath, e := os.Readlink("/sys/class/block/" + devName) if e == nil { parentDev := filepath.Base(filepath.Dir(parentDevPath)) qst, err = bfs.SysBlockDeviceQueueStats(parentDev) } } if err == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
doc/godebug.md
and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set. Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) to avoid trying to normalize volumes to drive letters, which was not always even possible. This behavior is controlled by the `winreadlinkvolume` setting.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Dec 03 00:18:09 UTC 2025 - 24.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
} private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) { assert linkErrors.exists() def lines = linkErrors.readLines() deadLinks.each { deadLink -> String errorStart = "ERROR: ${deadLink.file.name}:" assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) } } }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Aug 21 16:24:54 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* * @throws IOException if an I/O error occurs while reading from this source */ public ImmutableList<String> readLines() throws IOException { Closer closer = Closer.create(); try { BufferedReader reader = closer.register(openBufferedStream()); List<String> result = new ArrayList<>(); String line; while ((line = reader.readLine()) != null) { result.add(line); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* * @throws IOException if an I/O error occurs while reading from this source */ public ImmutableList<String> readLines() throws IOException { Closer closer = Closer.create(); try { BufferedReader reader = closer.register(openBufferedStream()); List<String> result = new ArrayList<>(); String line; while ((line = reader.readLine()) != null) { result.add(line); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.3K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* line-termination characters, but do include other leading and trailing whitespace. * * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link * Files#readLines} and {@link Resources#readLines} methods. * * <p>This method prioritizes convenience over performance: It reads the entire input into memoryRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
return (char) Encdec.dec_uint16be(tmp, 0); } @Override public final int readInt() throws SmbException { if (read(tmp, 0, 4) < 0) { throw new SmbException("EOF"); } return Encdec.dec_uint32be(tmp, 0); } @Override public final long readLong() throws SmbException { if (read(tmp, 0, 8) < 0) { throw new SmbException("EOF");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("readLine(): reads until newline and handles CRLF") void readLine_reads() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Sequence: 'a','b','\r','\n','c','\n' when(raf.read()).thenReturn((int) 'a', (int) 'b', (int) '\r', (int) '\n'); assertEquals("ab", raf.readLine());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
K key = (K) stream.readObject(); Collection<V> values = multimap.get(key); int valueCount = stream.readInt(); for (int j = 0; j < valueCount; j++) { @SuppressWarnings("unchecked") // reading data stored by writeMultimap V value = (V) stream.readObject(); values.add(value); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if (version != PacConstants.PAC_VERSION) { throw new PACDecodingException("Unrecognized PAC version " + version); } for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) { int bufferType = pacStream.readInt();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)