Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 3,202 for throwIt (0.32 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        @BeforeEach
        void setUp() {
            response = new SrvPipePeekResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with data")
        void testDecodeWithData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data
            int bufferIndex = 0;
    
            // Set up test values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        @BeforeEach
        void setUp() {
            response = new ValidateNegotiateInfoResponse();
        }
    
        @Test
        @DisplayName("Test decode with valid buffer")
        void testDecodeValidBuffer() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[64];
            int bufferIndex = 10;
    
            // Set capabilities (4 bytes)
            int testCapabilities = 0x12345678;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/TestByteSink.java

      }
    
      @Override
      public OutputStream openStream() throws IOException {
        outputStreamOpened = true;
        bytes.reset(); // truncate
        return new Out();
      }
    
      private final class Out extends TestOutputStream {
    
        Out() throws IOException {
          super(bytes, options);
        }
    
        @Override
        public void close() throws IOException {
          outputStreamClosed = true;
          super.close();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            assertEquals(16, hash1.length, "NT hash should be 16 bytes");
            assertEquals(16, hash2.length, "NT hash should be 16 bytes");
        }
    
        @Test
        @DisplayName("getNTHash: null password throws NPE with message")
        void testGetNTHash_null() {
            NullPointerException ex = assertThrows(NullPointerException.class, () -> NtlmUtil.getNTHash((String) null));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java

         *
         * @param type the type of conflict resolver to obtain
         * @return the conflict resolver
         * @throws ConflictResolverNotFoundException
         *          if the specified type was not found
         */
        ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

                            + "you should define versions in pluginManagement section of your pom.xml or parent");
        }
    
        @Test
        void testHandleBuildError() throws Exception {}
    
        @Test
        void testAttachToThread() throws Exception {}
    
        @Test
        void testGetKey() throws Exception {}
    
        public BuilderCommon getBuilderCommon(Logger logger) {
            final LifecycleDebugLogger debugLogger = new LifecycleDebugLogger();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

            PersistedToolchains pt = new PersistedToolchains();
            merger.merge(pt, null, null);
            merger.merge(null, pt, null);
        }
    
        @Test
        void testMergeJdk() throws Exception {
            try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/BuildPluginManager.java

                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        InvalidPluginDescriptorException;
    
        // igorf: Way too many declared exceptions!
        MojoDescriptor getMojoDescriptor(
                Plugin plugin, String goal, List<RemoteRepository> repositories, RepositorySystemSession session)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/CIFSContext.java

         * @throws CIFSException if the resource cannot be accessed
         */
        SmbResource get(String url) throws CIFSException;
    
        /**
         * Get a pipe resource
         *
         * @param url the URL of the SMB pipe resource
         * @param pipeType
         *            the type of the pipe
         * @return the SMB pipe resource at the specified location
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top