- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 1,342 for happens (0.04 seconds)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
} catch (Exception e) { // It's ok if it fails, we just want to verify reset was called } // Request/response reset should happen on retry verify(req, atLeastOnce()).reset(); verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/bufio/example_test.go
// Output: Hello, world! } func ExampleWriter_AvailableBuffer() { w := bufio.NewWriter(os.Stdout) for _, i := range []int64{1, 2, 3, 4} { b := w.AvailableBuffer() b = strconv.AppendInt(b, i, 10) b = append(b, ' ') w.Write(b) } w.Flush() // Output: 1 2 3 4 } // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer. func ExampleWriter_ReadFrom() { var buf bytes.Buffer
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
docs/debugging/inspect/main.go
// Automatically read "file.ext", "file-2.ext", "file-3.ext"... fn := base + ext if n > 1 { fn = fmt.Sprintf("%s-%d%s", base, n, ext) } if b, err := os.ReadFile(fn); err == nil { privateKeys = append(privateKeys, b) fmt.Println("Added private key from", fn) } else { break } n++ } // Prompt for decryption key if no --key or --private-key are provided
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// Return the number of outputs in the list. int TF_OutputListNumOutputs(TF_OutputList* o); // Return the `i`th output in the list. TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i); // Append a tensor at the end of the output list, growing its size by one. void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status*);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
suite.addTest( ByteSinkTester.tests( "MoreFiles.asByteSink[Path]", SourceSinkFactories.pathByteSinkFactory())); suite.addTest( ByteSinkTester.tests( "MoreFiles.asByteSink[Path, APPEND]", SourceSinkFactories.appendingPathByteSinkFactory())); suite.addTest( CharSourceTester.tests( "MoreFiles.asCharSource[Path, Charset]",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
} @Test public void test_longStrings() { // Test with long strings StringBuilder longString = new StringBuilder(); for (int i = 0; i < 1000; i++) { longString.append("word"); } String longInput = longString.toString(); StopwordsItem item = new StopwordsItem(1, longInput); assertEquals(longInput, item.getInput());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
internal/crypto/sse-s3.go
} keys := make([]ObjectKey, 0, len(metadata)) for i := range metadata { key, err := s3.UnsealObjectKey(k, metadata[i], buckets[i], objects[i]) if err != nil { return nil, err } keys = append(keys, key) } return keys, nil } // CreateMetadata encodes the sealed object key into the metadata and returns // the modified metadata. If the keyID and the kmsKey is not empty it encodes
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 7.6K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
if c = d.skipSpaces(); c == ']' { goto out } scan: if v, err = d.emitAny(); err != nil { goto out } if d.depth > d.emitDepth { // skip alloc for array if it won't be emitted array = append(array, v) } // next token must be ',' or ']' switch c = d.skipSpaces(); c { case ',': d.skipSpaces() goto scan case ']': goto out default:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
} @Test public void test_constructor_withLongMessage() { // Test with long message StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("Long message content "); } String longMessage = sb.toString(); ResultOffsetExceededException exception = new ResultOffsetExceededException(longMessage);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
internal/kms/context.go
escapeStringJSON(b, k) b.WriteString(`":"`) escapeStringJSON(b, v) b.WriteString(`"}`) } return b.Bytes(), nil } sortedKeys := make([]string, 0, len(c)) for k := range c { sortedKeys = append(sortedKeys, k) } sort.Strings(sortedKeys) b.WriteByte('{') for i, k := range sortedKeys { b.WriteByte('"') escapeStringJSON(b, k) b.WriteString(`":"`) escapeStringJSON(b, c[k])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 6K bytes - Click Count (0)