Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 299 for reflection (0.49 sec)

  1. src/test/java/jcifs/http/NetworkExplorerTest.java

                verify(response, atLeastOnce()).setStatus(HttpServletResponse.SC_OK);
            }
        }
    
        /**
         * Helper method to set fields via reflection
         */
        private void setFieldsViaReflection(NetworkExplorer explorer, boolean enableBasic, String realm) throws Exception {
            java.lang.reflect.Field styleField = NetworkExplorer.class.getDeclaredField("style");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        new EqualsTester()
            .addEqualityGroup(
                LinkedListMultimap.create(), LinkedListMultimap.create(), LinkedListMultimap.create(1))
            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method with input buffer")
        void testSizeWithInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Set an input buffer using reflection
            Encodable mockInputBuffer = mock(Encodable.class);
            when(mockInputBuffer.size()).thenReturn(100);
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertThrows(NullPointerException.class, () -> raf.writeChars(null));
            assertThrows(NullPointerException.class, () -> raf.writeUTF(null));
        }
    
        // Small reflection helpers to access private fields for interaction verification
        private static Object getField(Object target, String name) {
            try {
                var f = target.getClass().getDeclaredField(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertNotNull(result);
            assertEquals(currentTime + 5000, result.getTime());
        }
    
        public void test_getExpiredTime() {
            // Test via reflection since method is protected
            try {
                java.lang.reflect.Method getExpiredTimeMethod = CrawlingInfoHelper.class.getDeclaredMethod("getExpiredTime", int.class);
                getExpiredTimeMethod.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayTable.java

       *
       * <p>Subsequent table changes will not modify the array, and vice versa.
       *
       * @param valueClass class of values stored in the returned array
       */
      @GwtIncompatible // reflection
      public @Nullable V[][] toArray(Class<V> valueClass) {
        @SuppressWarnings("unchecked") // TODO: safe?
        @Nullable V[][] copy =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(512, buffer, 48);
                SMBUtil.writeInt4(0x01, buffer, 56);
    
                // When
                response.readBytesWireFormat(buffer, 0);
    
                // Then - use reflection to verify private fields
                Field closeFlagsField = Smb2CloseResponse.class.getDeclaredField("closeFlags");
                closeFlagsField.setAccessible(true);
                assertEquals(1, closeFlagsField.get(response));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. finisher_api.go

    	case reflect.Slice, reflect.Array:
    		var rowsAffected int64
    		tx = db.getInstance()
    
    		// the reflection length judgment of the optimized value
    		reflectLen := reflectValue.Len()
    
    		callFc := func(tx *DB) error {
    			for i := 0; i < reflectLen; i += batchSize {
    				ends := i + batchSize
    				if ends > reflectLen {
    					ends = reflectLen
    				}
    
    				subtx := tx.getInstance()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

        TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds);
        @SuppressWarnings("unchecked")
        TypeVariable<D> typeVariable =
            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top