Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for cls (0.01 sec)

  1. docs/sts/client_grants/sts_element.py

            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
            :return: Returns an STSElement.
            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. 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}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      private static void shouldFail(Class<?> cls, Visibility visibility) {
        try {
          new NullPointerTester().testStaticMethods(cls, visibility);
        } catch (AssertionError expected) {
          return;
        }
        fail("Should detect problem in " + cls.getSimpleName());
      }
    
      private static void shouldFail(Class<?> cls) {
        shouldFail(cls, Visibility.PACKAGE);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                fail("access field " + name, e);
                return null;
            }
        }
    
        private static int invokeProtectedInt(Object target, String name, Object... params) {
            try {
                var cls = target.getClass();
                // Build proper parameter types array, handling primitive types
                Class<?>[] paramTypes = new Class<?>[params.length];
                for (int i = 0; i < params.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. 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);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      private void assertBadUseOfReferentialEquality(Class<?> cls) throws Exception {
        try {
          tester.testEquals(cls);
        } catch (AssertionError expected) {
          assertThat(expected).hasMessageThat().contains(cls.getSimpleName() + "(");
          return;
        }
        fail("should have failed for " + cls);
      }
    
      public void testParameterNotInstantiableForEqualsTest() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        /**
         * Reflectively get the chained next request from a SMB2 request.
         */
        private static Object getNextOf(Object req) throws Exception {
            Class<?> cls = req.getClass().getSuperclass(); // ServerMessageBlock2Request
            Field f = cls.getSuperclass().getDeclaredField("next"); // ServerMessageBlock2.next
            f.setAccessible(true);
            return f.get(req);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top