- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 1,291 for results2 (0.06 seconds)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
int result = SMBUtil.readInt2(buffer, 0); assertEquals(expected & 0xFFFF, result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt4(input, buffer, 0); int result = SMBUtil.readInt4(buffer, 0);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
} ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); PacDataInputStream pacStream = new PacDataInputStream(bais); String result = pacStream.readString(); assertEquals(testString, result); } @Test @DisplayName("Test PacDataInputStream readString with empty string") void testReadEmptyString() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
GeneralRange<T> result = reverse; if (result == null) { result = new GeneralRange<>( reverseComparator(comparator), hasUpperBound, getUpperEndpoint(), getUpperBoundType(), hasLowerBound, getLowerEndpoint(), getLowerBoundType()); result.reverse = this;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate); Fire<V> fire = new Fire<>(result); result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /* * Memory visibility of these fields. There are two cases to consider. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java
}); } /** * Searches file authentications based on the form criteria. * * @param form the search form * @return HTML response for the search results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) { copyBeanToBean(form, fileAuthenticationPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 18.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java
/** * Searches for request header items based on the provided search criteria. * * @param form the search form containing search criteria * @return HTML response with filtered request header results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) { copyBeanToBean(form, reqHeaderPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 17.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@ValueSource(booleans = { true, false }) void isInUse_variants(boolean inUse) { when(session.isInUse()).thenReturn(inUse); boolean result = session.isInUse(); assertEquals(inUse, result); verify(session, times(1)).isInUse(); } // Happy path + edge: getSessionKey returns bytes, empty and null @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
int result = NtlmMessage.readULong(a, 0); assertEquals(0x04030201, result, "ULong should be little‑endian"); } @Test @DisplayName("readUShort correctly interprets little endian") void testReadUShort() { byte[] a = new byte[] { (byte) 0xAA, (byte) 0xBB }; int result = NtlmMessage.readUShort(a, 0);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/es/docs/async.md
Si estás usando paquetes de terceros que te dicen que los llames con `await`, como: ```Python results = await some_library() ``` Entonces, declara tus *path operation functions* con `async def` así: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` /// note | Nota Solo puedes usar `await` dentro de funciones creadas con `async def`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 25.4K bytes - Click Count (0) -
generics.go
"gorm.io/gorm/logger" "gorm.io/gorm/schema" ) type result struct { Result sql.Result RowsAffected int64 } func (info *result) ModifyStatement(stmt *Statement) { stmt.Result = info } // Build implements clause.Expression interface func (result) Build(clause.Builder) { } func WithResult() *result { return &result{} } type Interface[T any] interface {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 25.9K bytes - Click Count (0)