- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 5,478 for newA (0.33 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
extractProjectIdMethod.setAccessible(true); // Create a mock ModelBuilderResult with null effectiveModel but available rawModel ModelBuilderResult mockResult = new MockModelBuilderResult( null, // effectiveModel is null createMockModel("com.example", "test-project", "1.0.0"), // rawModel is available null // fileModel is null );
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(fh.getFileId()).thenReturn(new byte[16]); // Setup for ioctl request when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp); when(ioctlResp.getOutputLength()).thenReturn(42); byte[] in = new byte[128]; byte[] out = new byte[256]; // Act int n = handle.sendrecv(out, 1, 10, in, 128);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
* * {@snippet : * Method getMethod = List.class.getMethod("get", int.class); * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod); * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class! * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType()); * } * * <p><b>Note:</b> earlier versions of this class inherited from {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
* * @see SourceRoot#targetVersion() */ @Nullable Version getTargetVersion(); @Nonnull static DependencyResolverRequestBuilder builder() { return new DependencyResolverRequestBuilder(); } @Nonnull static DependencyResolverRequest build(Session session, RequestType requestType, Artifact rootArtifact) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
void testDecodeThrowsException() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; when(messageBlock.decode(buffer, bufferIndex)).thenThrow(new SMBProtocolDecodingException("Invalid buffer")); // When & Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
CompactLinkedHashMap<K, V> create() { return new CompactLinkedHashMap<>(); } /** * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures. * * @param expectedSize the number of elements you expect to add to the returned set
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
this.data = new AtomicLongArray(Ints.checkedCast(LongMath.divide(bits, 64, RoundingMode.CEILING))); this.bitCount = new LongAdder(); } // Used by serialization LockFreeBitArray(long[] data) { checkArgument(data.length > 0, "data length is zero!"); this.data = new AtomicLongArray(data); this.bitCount = new LongAdder(); long bitCount = 0;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jan 08 14:27:16 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
*/ public static FileInputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileInputStream(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Gets a byte array from an {@link InputStream}. * <p> * The input stream is not closed. * </p>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
/** * Test that default security settings meet minimum security requirements */ @Test public void testSecureDefaults() throws CIFSException { BaseConfiguration config = new BaseConfiguration(true); // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled) assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0)