- Sort Score
- Num 10 results
- Language All
Results 981 - 990 of 6,205 for newA (0.03 seconds)
-
src/test/java/jcifs/pac/PacCredentialTypeTest.java
*/ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @Test void testConstructorWithNullData() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testInterfaceHierarchy() { // Create instances SmbInfoAllocation smbInfo = new SmbInfoAllocation(); FileFsSizeInformation sizeInfo = new FileFsSizeInformation(); FileFsFullSizeInformation fullSizeInfo = new FileFsFullSizeInformation(); // All should be FileSystemInformation assertTrue(smbInfo instanceof FileSystemInformation);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetTrustedDomains_Cached() throws SmbAuthException { Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(300); HashMap<String, HashMap> trustedDomains = new HashMap<>(); trustedDomains.put("domain.com", new HashMap()); cacheEntry.map = trustedDomains; dfs._domains = cacheEntry; assertEquals(trustedDomains, dfs.getTrustedDomains(auth));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
} catch (final Exception e) { throw new PluginException("Failed to install the artifact " + artifact.getName(), e); } } else { try (final InputStream in = new FileInputStream(url)) { CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile()); } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
} BuildPlan plan = new BuildPlan(); for (MavenProject project : toFork) { BuildStep st = new BuildStep(forkedGoal, project, null); MojoExecution mojoExecution = new MojoExecution(forkedMojoDescriptor, forkedGoal); st.addMojo(mojoExecution, 0); Map<String, BuildStep> n = new HashMap<>(); n.put(forkedGoal, st);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] buffer = new byte[100]; int consumed = pipe.readParametersWireFormat(buffer, 0, 10); assertEquals(0, consumed, "readParametersWireFormat should return 0"); } @Test public void testReadDataWireFormat() { // Test that readDataWireFormat returns 0 TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final Name calledName = new Name(tc.getConfig(), this.address.firstCalledName(), 0x20, null); do { this.socket = new Socket(); if (this.localAddr != null) { this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
} return total; } /** * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array from the * beginning. */ @J2ktIncompatible public static ByteArrayDataInput newDataInput(byte[] bytes) { return newDataInput(new ByteArrayInputStream(bytes)); } /** * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} @Test public void testKeyIsolation() { String sessionId1 = "session-1"; String sessionId2 = "session-2"; byte[] key1 = new byte[16]; byte[] key2 = new byte[16]; new SecureRandom().nextBytes(key1); new SecureRandom().nextBytes(key2); keyManager.storeSessionKey(sessionId1, key1, "AES"); keyManager.storeSessionKey(sessionId2, key2, "AES");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java
) ), new LicenseMatcher("MPL-1.1", true, false, Pattern.compile("Mozilla Public License.*Version 1.1", Pattern.DOTALL)), new LicenseMatcher("MPL-2.0", true, false, Pattern.compile("Mozilla\\s*Public\\s*License\\s*Version\\s*2\\.0", Pattern.DOTALL)), new LicenseMatcher("XZ", false, false, Pattern.compile("Licensing of XZ for Java", Pattern.DOTALL)),Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 00:12:58 GMT 2021 - 12.8K bytes - Click Count (0)