Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for javascript (0.22 sec)

  1. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

      static char[] charBufferFromThreadLocal() {
        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotes.java

        public abstract RegularFileProperty getBaseCssFile();
    
        /**
         * The release notes specific CSS file
         */
        public abstract RegularFileProperty getReleaseNotesCssFile();
    
        /**
         * The Javascript embedded in the release notes
         */
        public abstract RegularFileProperty getReleaseNotesJsFile();
    
        /**
         * The Jquery file to include in the release notes.
         */
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            for (File jquery : this.jqueryFiles) {
                appendFileContentsTo(document.head(), "<script type='text/javascript'>", jquery, "</script>");
            }
            appendFileContentsTo(document.head(), "<script type='text/javascript'>", releaseNotesJavascript, "</script>");
        }
    
        private void addCssToHead(Document document) {
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Jan 26 13:00:32 GMT 2023
    - 8.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      public static class ImmutableSetWithBadHashesGenerator extends TestCollidingSetGenerator
          // Work around a GWT compiler bug.  Not explicitly listing this will
          // cause the createArray() method missing in the generated javascript.
          // TODO: Remove this once the GWT bug is fixed.
          implements TestCollectionGenerator<Object> {
        @Override
        public Set<Object> create(Object... elements) {
          return ImmutableSet.copyOf(elements);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

      /**
       * <a href="http://www.rfc-editor.org/rfc/rfc4329.txt">RFC 4329</a> declares {@link
       * #JAVASCRIPT_UTF_8 application/javascript} to be the correct media type for JavaScript, but this
       * may be necessary in certain situations for compatibility.
       */
      public static final MediaType TEXT_JAVASCRIPT_UTF_8 = createConstantUtf8(TEXT_TYPE, "javascript");
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getDestinationDirectory().convention(dslReference.getStagingRoot().dir("dsl"));
            });
    
            extension.dslReference(dslRef -> {
                // DSL ref has custom javascript
                ConfigurableFileTree js = objects.fileTree();
                js.from(dslReference.getRoot());
                js.include("*.js");
                dslRef.getResources().from(js);
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  9. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top