- Sort Score
- Num 10 results
- Language All
Results 11 - 17 of 17 for sourcepath (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
byte[] sourceData = { 1, 2, 3, 4, 5 }; byte[] buffer = new byte[10]; System.arraycopy(sourceData, 0, buffer, 2, sourceData.length); int result = smallResponse.readDataWireFormat(buffer, 2, sourceData.length); assertEquals(sourceData.length, result); assertArrayEquals(sourceData, smallOutputBuffer); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
* * @param resourcePath The path to the resource file (e.g., "suggest_indices/suggest.json") * @return The content of the resource file as a string * @throws IOException If an I/O error occurs or the resource is not found */ public static String loadJsonResource(final String resourcePath) throws IOException { return loadJsonResource(resourcePath, Collections.emptyMap()); } /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java
throw new StopExecutionException(); } resources.stream().parallel().forEach(resourcePath -> { Path destination = outputDir.get().file(resourcePath).getAsFile().toPath(); try (InputStream is = getClass().getClassLoader().getResourceAsStream(resourcePath)) { Files.createDirectories(destination.getParent()); if (is == null) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java
super(key); } } @Override protected ObjectiveProperties newObjectiveProperties(final String resourcePath, final PropertyFilter propertyFilter) { return new ObjectiveProperties(resourcePath) { // for e.g. checking existence and filtering value Cache<String, String> cache = CacheBuilder.newBuilder().build(); @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 09:31:58 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
@Test void testReadOctetArray() { byte[] sourceData = { 0x10, 0x11, 0x12, 0x13, 0x14 }; System.arraycopy(sourceData, 0, buffer, 0, sourceData.length); byte[] destData = new byte[5]; ndrBuffer.readOctetArray(destData, 0, sourceData.length); assertEquals(sourceData.length, ndrBuffer.getIndex()); assertEquals(sourceData.length, ndrBuffer.getLength()); // Length is updated on read tooCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
} return _defaultParallel; } public static String getResourceContents(String resourcePath) { try ( BufferedReader reader = new BufferedReader(new InputStreamReader(GlobalBuildInfoPlugin.class.getResourceAsStream(resourcePath))) ) { StringBuilder b = new StringBuilder();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
final String filePath = FileUtil.getCanonicalPath(file); final String resourcePath = filePath.substring(pos + 1).replace('\\', '/'); final InputStream is = InputStreamUtil.create(file); try { handler.processResource(resourcePath, is); } finally { CloseableUtil.close(is); } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.2K bytes - Click Count (0)