- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 1,667 for byteEq (0.06 sec)
-
src/bufio/export_test.go
var IsSpace = isSpace const DefaultBufSize = defaultBufSize func (s *Scanner) MaxTokenSize(n int) { if n < utf8.UTFMax || n > 1e9 { panic("bad max token size") } if n < len(s.buf) { s.buf = make([]byte, n) } s.maxTokenSize = n } // ErrOrEOF is like Err, but returns EOF. Used to test a corner case. func (s *Scanner) ErrOrEOF() error { return s.err
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
internal/ioutil/discard.go
// and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{} func (discard) Write(p []byte) (int, error) { return len(p), nil } // DiscardReader discarded reader func DiscardReader(r io.Reader) { Copy(Discard, r)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 06 22:26:08 UTC 2023 - 1.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
BufferedInputStream bis = null; String encoding = null; try { bis = new BufferedInputStream(inputStream); final byte[] buffer = new byte[preloadSizeForCharset]; final int size = bis.read(buffer); if (size != -1) { final String content = new String(buffer, 0, size);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
relTag += "." + relSuffix } return relTag, t } // commitID returns the abbreviated commit-id hash of the last commit. func commitID() string { // git log --format="%H" -n1 var ( commit []byte err error ) cmdName := "git" cmdArgs := []string{"log", "--format=%H", "-n1"} if commit, err = exec.Command(cmdName, cmdArgs...).Output(); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
this.localPid = (int) ( Math.random() * 65536d ); this.localTimeZone = TimeZone.getDefault(); this.random = new SecureRandom(); if ( this.machineId == null ) { byte[] mid = new byte[32]; this.random.nextBytes(mid); this.machineId = mid; } if ( this.nativeOs == null ) { this.nativeOs = System.getProperty("os.name"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 20.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
* @throws IOException If the model could not be serialized. */ void write(Writer output, Map<String, Object> options, Model model) throws IOException; /** * Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method * returns. * * @param output The stream to serialize the model to, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/RequestWithFileId.java
*/ package jcifs.internal.smb2; /** * @author mbechler * */ public interface RequestWithFileId { /** * * @param fileId */ void setFileId ( byte[] fileId );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 965 bytes - Viewed (0) -
docs/features/caching.md
response only if the response code is HTTP/1.1 304 Not Modified. - CallStart - **CacheConditionalHit** - ConnectionAcquired - ... Standard Events... - ResponseBodyEnd _(0 bytes)_ - **CacheHit** - ConnectionReleased - CallEnd ## Cache directory The cache directory must be exclusively owned by a single instance.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
val inetAddress = socket.localAddress var hostname = inetAddress.hostName if (inetAddress is Inet6Address && hostname.contains(':')) { // hostname is likely some form representing the IPv6 bytes // 2001:0db8:85a3:0000:0000:8a2e:0370:7334 // 2001:db8:85a3::8a2e:370:7334 // ::1 hostname = "[$hostname]" } val localPort = socket.localPort
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
@Throws(IOException::class) private fun BufferedSource.readData(data: Buffer) { data.writeByte('\n'.code) readFully(data, indexOfElement(CRLF)) select(options) // Skip the newline bytes. } @Throws(IOException::class) private fun BufferedSource.readRetryMs(): Long { val retryString = readUtf8LineStrict() return retryString.toLongOrDefault(-1L) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0)