Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 2,582 for throwIt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/netbios/LmhostsTest.java

            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
        @Test
        void testGetByNameWithValidEntry() throws IOException {
            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

      @Override
      @J2ktIncompatible
        Object writeReplace() {
        return new SerializedForm(toArray());
      }
    
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

    import okhttp3.Response;
    
    public final class CurrentDateHeader {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new CurrentDateInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

        @BeforeEach
        void setUp() throws Exception {
            builder = new ExtensionDescriptorBuilder();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            builder = null;
        }
    
        private InputStream toStream(String xml) {
            return new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8));
        }
    
        @Test
        void testEmptyDescriptor() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null);
    
            @Override
            public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
                wsrClassRef.set(session.getRepositorySession().getWorkspaceReader().getClass());
            }
        }
    
        @Inject
        private Maven maven;
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
        @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree")
        void available_smb2_happyPath() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java

        }
    
        @Override
        public void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException {
            for (ProjectExecutionListener listener : listeners) {
                listener.beforeProjectExecution(event);
            }
        }
    
        @Override
        public void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException {
            for (ProjectExecutionListener listener : listeners) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacTest.java

            byte[] pacData = baos.toByteArray();
    
            // This currently throws ArrayIndexOutOfBoundsException
            // but should be wrapped in PACDecodingException
            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
            // Test PAC with zero buffers (missing required buffers)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution
         */
        @Nonnull
        Map<String, Object> getPluginContext(@Nonnull Project project);
    
        /**
         * Retrieves the service for the interface
         *
         * @throws NoSuchElementException if the service could not be found
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top