- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 691 for derive (0.06 sec)
-
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
// Set up deferred buffer chain to avoid NPE mockDeferredNdrBuffer.deferred = mockDeferredNdrBuffer; // Self-reference to avoid NPE lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer); lenient().when(mockDeferredNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer); // Set up lenient stubs for common operations to avoid unnecessary stubbing exceptionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(10, ndrBuffer.getLength()); ndrBuffer.setLength(20); assertEquals(20, ndrBuffer.getLength()); // Test with derived buffer NdrBuffer derived = ndrBuffer.derive(0); derived.setLength(5); assertEquals(5, derived.getLength()); assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length } @Test void testAdvance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
mockNdrBuffer.deferred = mockDeferredBuffer; // Configure mocks for NdrBuffer interactions lenient().when(mockDeferredBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer); lenient().doNothing().when(mockDeferredBuffer).advance(anyInt()); // Set up index field for derive operations mockDeferredBuffer.index = 0; } @Nested @DisplayName("Protocol Information Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
} } /** * Creates a suite whose map has some elements filtered out of view. * * <p>Because the map may be ascending or descending, this test must derive the relative order of * these extreme values rather than relying on their regular sort ordering. */ final TestSuite createSubmapSuite( FeatureSpecificTestSuiteBuilder<
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
this.start = index = start; length = 0; deferred = this; } /** * Creates a derived NdrBuffer at the specified index position. * * @param idx the index position for the derived buffer * @return the derived NdrBuffer */ public NdrBuffer derive(final int idx) { final NdrBuffer nb = new NdrBuffer(buf, start); nb.index = idx; nb.deferred = deferred;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
} this.state++; return out; } /** * Initializes session security keys for signing and sealing. * @param mk the master key to derive session keys from */ protected void initSessionSecurity(final byte[] mk) { this.signKey = deriveKey(mk, C2S_SIGN_CONSTANT); this.verifyKey = deriveKey(mk, S2C_SIGN_CONSTANT);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} /** * Derive a new key from an existing key * * @param baseKey the base key * @param label key derivation label * @param context key derivation context * @param length desired key length in bytes * @return derived key * @throws GeneralSecurityException if key derivation fails */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)