- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,019 for readFn (0.04 seconds)
-
src/archive/tar/reader_test.go
} } } // testNonEmptyReader wraps an io.Reader and ensures that // Read is never called with an empty buffer. type testNonEmptyReader struct{ io.Reader } func (r testNonEmptyReader) Read(b []byte) (int, error) { if len(b) == 0 { return 0, errors.New("unexpected empty Read call") } return r.Reader.Read(b) } func TestFileReader(t *testing.T) { type (Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
api/go1.7.txt
pkg bytes, func ContainsAny([]uint8, string) bool pkg bytes, func ContainsRune([]uint8, int32) bool pkg bytes, method (*Reader) Reset([]uint8) pkg compress/flate, const HuffmanOnly = -2 pkg compress/flate, const HuffmanOnly ideal-int pkg context, func Background() Context pkg context, func TODO() Context pkg context, func WithCancel(Context) (Context, CancelFunc) pkg context, func WithDeadline(Context, time.Time) (Context, CancelFunc)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
validateApi(body, messages -> {}); CommonPoolUtil.execute(() -> { try (Reader reader = new BufferedReader(new InputStreamReader(body.badWordFile.getInputStream(), getCsvEncoding()))) { badWordService.importCsv(reader); suggestHelper.storeAllBadWords(false); } catch (final Exception e) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 10.3K bytes - Click Count (0) -
internal/event/config.go
rulesMap.Add(queue.ToRulesMap()) } return rulesMap } // ParseConfig - parses data in reader to notification configuration. func ParseConfig(reader io.Reader, region string, targetList *TargetList) (*Config, error) { var config Config if err := xml.NewDecoder(reader).Decode(&config); err != nil { return nil, err } if err := config.Validate(region, targetList); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/recipes.md
### Asynchronous Get ([.kt][AsynchronousGetKotlin], [.java][AsynchronousGetJava]) Download a file on a worker thread, and get called back when the response is readable. The callback is made after the response headers are ready. Reading the response body may still block. OkHttp doesn't currently offer asynchronous APIs to receive a response body in parts. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 47.8K bytes - Click Count (0) -
test_docs.sh
# Generate the API docs ./gradlew dokkaHtmlMultiModule mv ./build/dokka/htmlMultiModule docs/4.x # Copy in special files that GitHub wants in the project root. cat README.md | grep -v 'project website' > docs/index.md cp CHANGELOG.md docs/changelogs/changelog.md cp CONTRIBUTING.md docs/contribute/contributing.md # Build the site locally
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Apr 17 13:52:16 GMT 2024 - 718 bytes - Click Count (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
super(); } @Override protected ExtractData createExtractData(final String content) { final DOMParser parser = getDomParser(); try (final Reader reader = new StringReader(content)) { parser.parse(new InputSource(reader)); } catch (final Exception e) { logger.warn("Failed to parse the content.", e); return new ExtractData(extractString(content)); }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Oct 04 08:47:19 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
String header = null; final StringBuilder buf = new StringBuilder(1000); try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) { header = ReaderUtil.readLine(reader); if (header == null) { throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"),Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* atomic: a read observes the full set of values as they were before or after the commit, but never * a mix of values. * * Clients call [get] to read a snapshot of an entry. The read will observe the value at the time * that [get] was called. Updates and removals after the call do not impact ongoing reads. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/site-replication-metrics_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *RStat) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.3K bytes - Click Count (0)