- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for readSize (0.1 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options ); } int r, n; SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off ); do { r = len > readSize ? readSize : len; file.send( new SmbComReadAndX( file.fid, fp, r, null ), response ); if(( n = response.dataLength ) <= 0 ) { return (int)((fp - start) > 0L ? fp - start : -1); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
*/ private void init ( SmbTreeHandleInternal th ) throws CIFSException { if ( this.smb2 ) { this.readSize = th.getReceiveBufferSize(); this.readSizeFile = th.getReceiveBufferSize(); return; } this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70); if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
*/ public final int getNextCommandOffset () { return this.nextCommand; } /** * @param readSize * the readSize to set */ public void setReadSize ( int readSize ) { this.readSize = readSize; } /** * @return the async */ public boolean isAsync () { return this.async; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 30 10:47:31 UTC 2018 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} try ( SmbFileHandle h = ensureOpen() ) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70; if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) { this.largeReadX = true; this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
return reader.readLine(); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads all the lines of this source as a list of strings. The returned list will be empty if * this source is empty. * * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
cmd/bucket-metadata_gen.go
z.EncryptionConfigUpdatedAt, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "EncryptionConfigUpdatedAt") return } case "TaggingConfigUpdatedAt": z.TaggingConfigUpdatedAt, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "TaggingConfigUpdatedAt") return } case "QuotaConfigUpdatedAt": z.QuotaConfigUpdatedAt, err = dc.ReadTime() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 25.4K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
}, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { istioConf := testutils.ReadFile(t, filepath.Join("testdata", c.newConfFilename)) existingConfFilepath := filepath.Join("testdata", c.existingConfFilename) existingConf := testutils.ReadFile(t, existingConfFilepath) output, err := insertCNIConfig(istioConf, existingConf) if err != nil { if !c.expectedFailure {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 15.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val reader = BufferedReader(InputStreamReader(connection.inputStream, UTF_8)) assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(reader.readLine()).isEqualTo("hello world") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(request.headers["Accept-Language"]).isEqualTo("en-US")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8)) assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(reader.readLine()).isEqualTo("hello world") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1") assertThat(request.getHeader("Accept-Language")).isEqualTo("en-US")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
src/bufio/bufio.go
// of the line. The returned buffer is only valid until the next call to // ReadLine. ReadLine either returns a non-nil line or it returns an error, // never both. // // The text returned from ReadLine does not include the line end ("\r\n" or "\n"). // No indication or error is given if the input ends without a final line end. // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0)