- Sort Score
- Num 10 results
- Language All
Results 2301 - 2310 of 2,684 for catch (0.03 seconds)
-
src/bytes/buffer.go
i := copy(b2, b) return b2[:i] } // WriteTo writes data to w until the buffer is drained or an error occurs. // The return value n is the number of bytes written; it always fits into an // int, but it is int64 to match the [io.WriterTo] interface. Any error // encountered during the write is also returned. func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) { b.lastRead = opInvalid if nBytes := b.Len(); nBytes > 0 {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
AND LOWER THAN CURRENT BASE VERSION (from `version.txt` on this branch). The difference must identically match <a href="${mainApiChangesJsonFile.asFile.path}">accepted-public-api-changes.json</a> like .json file in <a href="${apiChangesJsonDirectory.asFile.path}">accepted-changes</a> directory, no more, no less - otherwise the task will fail.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/ru/docs/fastapi-cli.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
final int index; final CountDownLatch latch = new CountDownLatch(1); SnappyShutdownService(int index) { this.index = index; } @Override protected void run() throws Exception { latch.await(); } @Override protected void triggerShutdown() { latch.countDown(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
internal/s3select/sql/value_test.go
package sql import ( "fmt" "math" "strconv" "testing" "time" ) // valueBuilders contains one constructor for each value type. // Values should match if type is the same. var valueBuilders = []func() *Value{ FromNull, func() *Value { return FromBool(true) }, func() *Value { return FromBytes([]byte("byte contents")) }, func() *Value {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// same auth instance => matches assertTrue(s1.matches(a1)); // different instance but equal content => matches assertTrue(s1.matches(a2)); // not equal => no match NtlmPasswordAuthentication other = new NtlmPasswordAuthentication("OTHER", "u", "p"); assertFalse(s1.matches(other)); } @Test void toStringContainsKeyFields() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
task.setGroup("release notes"); task.setDescription("Update the list of fixed issues in the release notes for a patch release."); task.getGithubToken().set(project.getProviders().environmentVariable("GITHUB_TOKEN")); task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile());
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
/** * Constructs a Trans2FindFirst2 request for finding files. * * @param config the configuration to use * @param filename the path to search in * @param wildcard the wildcard pattern to match * @param searchAttributes the file attributes to search for * @param batchCount the number of entries to return * @param batchSize the maximum size of the response buffer */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
assertEquals(3, encodedLen, "Encoded length should be equal to the specified length"); // Verify content assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset"); } @Test void testEncodeWithOffset() { // Test encoding with a destination offset byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
tests/test_dependency_yield_scope_websockets.py
assert global_state["session_closed"] is True assert global_state["named_session_closed"] is True def test_broken_scope() -> None: with pytest.raises( FastAPIError, match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"', ): @app.websocket("/broken-scope") async def get_broken(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0)