Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1781 - 1790 of 3,282 for throwIt (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.java

     */
    public interface ProjectCollectionStrategy {
        /**
         *
         * @param request
         * @return
         * @throws ProjectBuildingException
         */
        List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        }
    
        /**
         * Test FileInformation as Decodable
         */
        @Test
        @DisplayName("Test FileInformation decode method")
        void testFileInformationDecode() throws SMBProtocolDecodingException {
            // Create mock
            FileInformation mockFileInfo = mock(FileInformation.class);
            byte[] buffer = new byte[100];
    
            // Define behavior
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

        @Mock
        private ToolchainFactory toolchainFactoryBasicType;
    
        @Mock
        private ToolchainFactory toolchainFactoryRareType;
    
        @Mock
        private Lookup lookup;
    
        @BeforeEach
        void onSetup() throws Exception {
            MockitoAnnotations.initMocks(this);
    
            Map<String, ToolchainFactory> factories = new HashMap<>();
            factories.put("basic", toolchainFactoryBasicType);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrSmall.java

         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(this.value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            this.value = src.dec_ndr_small();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
            // Call the encode method with the mocked NdrBuffer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

         *            {@code null}.
         * @throws BeanConfigurationException If the bean configuration could not be successfully processed.
         */
        void configureBean(BeanConfigurationRequest request) throws BeanConfigurationException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/PomArtifactTransformer.java

        void injectTransformedArtifacts(RepositorySystemSession session, MavenProject currentProject) throws IOException;
    
        void transform(MavenProject project, RepositorySystemSession session, ModelSource src, Path tgt)
                throws ModelBuilderException, XMLStreamException, IOException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

            calculator.update(ByteBuffer.allocate(0));
            assertEquals("da39a3ee5e6b4b0d3255bfef95601890afd80709", calculator.checksum());
        }
    
        @Test
        void calculateByte() throws IOException {
            Map<ChecksumAlgorithmService.ChecksumAlgorithm, String> checksums = service.calculate(
                    "test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 11:31:00 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/ResourceFilter.java

         *
         * @param resource the SMB resource to test
         * @return whether the given resource should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource resource) throws CIFSException;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top