Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 173 for native (0.15 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

          void onInvoke(Object error);
        }
    
        void onInvoke(ResolveCallbackFn<T> resolve, RejectCallbackFn reject);
      }
    
      public Promise(PromiseExecutorCallbackFn<T> executor) {}
    
      @Override
      public native <V extends @Nullable Object> Promise<V> then(
          @JsOptional @Nullable IThenOnFulfilledCallbackFn<? super T, ? extends V> onFulfilled,
          @JsOptional @Nullable IThenOnRejectedCallbackFn<? extends V> onRejected);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 24 18:27:19 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

        private final EqualsTester tester = new EqualsTester();
    
        TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) {
          if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            tester.addEqualityGroup(jvmType);
            tester.addEqualityGroup((Object[]) types);
          } else {
            tester.addEqualityGroup(Lists.asList(jvmType, types).toArray());
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> letters = Splitter.on(literalDotPattern()).omitEmptyStrings().split(doubled);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java

    public abstract class FloatsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native float min(float... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native float max(float... array);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 26 00:50:12 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ShortsMethodsForWeb.java

    public abstract class ShortsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native short min(short... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native short max(short... array);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 26 00:50:12 GMT 2023
    - 1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

             * by us. And that equality is guaranteed to hold because it doesn't involve the JDK
             * TypeVariable implementation at all.
             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
                && Arrays.equals(bounds, resolvedBounds)) {
              return var;
            }
            return Types.newArtificialTypeVariable(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> letters = Splitter.on(literalDotPattern()).omitEmptyStrings().split(doubled);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // Bug in older versions of Android we test against, since fixed.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return result;
      }
    
      /*
       * If I understand correctly:
       *
       * 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
    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)
  9. guava-tests/test/com/google/common/reflect/InvokableTest.java

              Invokable.from(A.class.getDeclaredMethod(name, parameterTypes));
          assertEquals(name, invokable.getName());
          assertEquals(A.class, invokable.getDeclaringClass());
          return invokable;
        }
    
        native void nativeMethod();
    
        synchronized void synchronizedMethod() {}
      }
    
      public void testConstructor_returnType() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top