Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,249 for instancia (0.08 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
        private static SamrPolicyHandle createMockPolicyHandle() {
            return mock(SamrPolicyHandle.class);
        }
    
        @Nested
        @DisplayName("Constructor parameter handling")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
            // First, successfully create an LsaPolicyHandle instance
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the provided parameters.
         * This protected constructor is used for creating new instances from existing parameter maps.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            CommandExecutionException exception1 = new CommandExecutionException("Test");
            CommandExecutionException exception2 = new CommandExecutionException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
    
            // Test serialization compatibility by checking class name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            } catch (NullPointerException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        public void test_multipleJobExecutors() {
            // Test multiple JobExecutor instances
            JobExecutor executor1 = new TestJobExecutor();
            JobExecutor executor2 = new TestJobExecutor();
    
            AtomicInteger counter1 = new AtomicInteger(0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumBiMap.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.EnumMap;
    import java.util.Map;
    
    /**
     * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values are not permitted.
     * An {@code EnumBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

                throw new SMBProtocolDecodingException();
            }, "Should be throwable via assertThrows");
            assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "hello", " ", "unicode-∑" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/UsingToStringOrdering.java

      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
      public int compare(Object left, Object right) {
        return left.toString().compareTo(right.toString());
      }
    
      // preserve singleton-ness, so equals() and hashCode() work correctly
      private Object readResolve() {
        return INSTANCE;
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTree.java

     *
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * Unwraps the tree instance to the specified type
         * @param <T> the target tree type
         * @param type the class of the tree type to unwrap to
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap(Class<T> type);
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top