- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for javascript (0.05 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
* This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but * *J2CL* doesn't look at it.) * * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose * of @JsMethod is to make a method *callable* from JavaScript and (b) this method would not be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
return getPath(StringUtil.EMPTY, "css", names); } /** * Gets the path to JavaScript files directory. * * @param names the path components to append to the JavaScript directory * @return the Path object pointing to the JavaScript directory */ public static Path getJavaScriptPath(final String... names) { return getPath(StringUtil.EMPTY, "js", names);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} public void test_execute_differentScriptTypes() { // Test different script types Object result = jobExecutor.execute("javascript", "console.log('test')"); assertEquals("Executed: javascript console.log('test')", result); result = jobExecutor.execute("python", "print('test')"); assertEquals("Executed: python print('test')", result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
file.name.endsWith(".html") -> "text/html" file.name.endsWith(".jpeg") -> "image/jpeg" file.name.endsWith(".jpg") -> "image/jpeg" file.name.endsWith(".js") -> "application/javascript" file.name.endsWith(".png") -> "image/png" else -> "text/plain" } private fun Socket.peerName(): String { val address = remoteSocketAddress
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
} private static void arrayCopy(Object[] dest, int pos, Object... source) { System.arraycopy(source, 0, dest, pos, source.length); } /** ImmutableList.of API that is friendly to use from JavaScript. */ @JsMethod(name = "of") static <E> ImmutableList<E> jsOf(E... elements) { return copyOf(elements); } public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} /** * Sets whether the user identification cookie should be HTTP-only. * * @param httpOnly true if the cookie should be HTTP-only (not accessible via JavaScript), false otherwise */ public void setCookieHttpOnly(final boolean httpOnly) { this.httpOnly = httpOnly; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
// CSS ZipEntry cssEntry = new ZipEntry("css/style.css"); zos.putNextEntry(cssEntry); zos.write("body { }".getBytes()); zos.closeEntry(); // JavaScript ZipEntry jsEntry = new ZipEntry("js/script.js"); zos.putNextEntry(jsEntry); zos.write("console.log('test');".getBytes()); zos.closeEntry(); // Images
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
Collections.addAll(all, e1, e2, e3, e4, e5, e6); Collections.addAll(all, others); return copyOf(all.iterator()); } /** ImmutableSet.of API that is friendly to use from JavaScript. */ @JsMethod(name = "of") static <E> ImmutableSet<E> jsOf(E... elements) { return copyOf(elements); } @JsMethod public static <E> ImmutableSet<E> copyOf(E[] elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
* * <p>This test might fail in GWT because the GWT emulations might count on the input collection * not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */ @GwtIncompatible // GWT is single threaded public void testCopyOf_threadSafe() { /* * The actual collections that we pass as inputs will be wrappers around these, so
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} else if (lowerPath.endsWith(".ico")) { response.setContentType("image/vnd.microsoft.icon"); } else if (lowerPath.endsWith(".js")) { response.setContentType("text/javascript"); } else if (lowerPath.endsWith(".json")) { response.setContentType("application/json"); } else if (lowerPath.endsWith(".otf")) { response.setContentType("font/otf");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0)