Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for cls (0.13 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
      private static ResourceInfo resourceInfo(Class<?> cls) {
        String resource = cls.getName().replace('.', '/') + ".class";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    constituent.getClassifier(),
                    constituent.getVersion());
        }
    
        private static String getId(String gid, String aid, String type, String cls, String ver) {
            return gid + ':' + aid + ':' + type + ((cls != null && !cls.isEmpty()) ? ':' + cls : "") + ':' + ver;
        }
    
        private void callDelegates(
                ClassRealm classRealm,
                RealmType type,
                ClassLoader parent,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
      private static ResourceInfo resourceInfo(Class<?> cls) {
        String resource = cls.getName().replace('.', '/') + ".class";
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

        assertThat(event.response).isNull()
        assertThat(event.t).isSameAs(t)
      }
    
      fun assertFailure(
        cls: Class<out IOException?>?,
        vararg messages: String,
      ) {
        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t.javaClass).isEqualTo(cls)
        if (messages.isNotEmpty()) {
          assertThat(messages).contains(event.t.message)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        final Iterable<Method> getStaticMethods(Class<?> cls) {
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Method method : getVisibleMethods(cls)) {
            if (Invokable.from(method).isStatic()) {
              builder.add(method);
            }
          }
          return builder.build();
        }
    
        final Iterable<Method> getInstanceMethods(Class<?> cls) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

      }
    
      private static void disallowPrimitiveType(Type[] types, String usedAs) {
        for (Type type : types) {
          if (type instanceof Class) {
            Class<?> cls = (Class<?>) type;
            checkArgument(!cls.isPrimitive(), "Primitive type '%s' used as %s", cls, usedAs);
          }
        }
      }
    
      /** Returns the {@code Class} object of arrays with {@code componentType}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      private static void shouldFail(Class<?> cls, Visibility visibility) {
        try {
          new NullPointerTester().testStaticMethods(cls, visibility);
        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should detect problem in " + cls.getSimpleName());
      }
    
      private static void shouldFail(Class<?> cls) {
        shouldFail(cls, Visibility.PACKAGE);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        }
      }
    
      // Visible for other tests to use
      static ImmutableSet<Field> relevantFields(Class<?> cls) {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : cls.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 17 17:41:51 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        }
      }
    
      // Visible for other tests to use
      static ImmutableSet<Field> relevantFields(Class<?> cls) {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : cls.getDeclaredFields()) {
          /*
           * Coverage mode generates synthetic fields.  If we ever add private
           * fields, they will cause similar problems, and we may want to switch
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            Charset charset,
            TimeUnit unit,
            Class<?> cls,
            Joiner joiner,
            Pattern pattern,
            UnsignedInteger ui,
            UnsignedLong ul,
            StringBuilder sb,
            Predicate<?> pred,
            Function<?, ?> func,
            Object obj) {
          delegate.foo(
              s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred,
              func, obj);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top