Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 5,478 for newA (0.53 seconds)

  1. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.POST, url);
        }
    
        /**
         * Creates a new CurlRequest with the HTTP PUT method for the specified URL.
         *
         * @param url the URL to which the PUT request will be sent
         * @return a new CurlRequest object configured with the PUT method and the specified URL
         */
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  3. CLAUDE.md

    mvn clean jacoco:prepare-agent test jacoco:report  # Generate coverage report
    ```
    
    ### Adding New Features
    
    1. Read related source files and tests
    2. Write implementation following existing patterns
    3. Add comprehensive tests
    4. Run `mvn formatter:format license:format test`
    5. Update JavaDoc for changed/new classes
    
    **Principles:**
    - Avoid over-engineering - keep solutions simple
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[31] = 0x20;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
            assertNotNull(avSingleHost);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

      public void testCancel_interrupted() throws Exception {
        AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Runnable[] manualExecutorTask = new Runnable[1];
        Executor manualExecutor =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                manualExecutorTask[0] = task;
              }
            };
    
        results.add(serializer.submit(Callables.returning(null), manualExecutor));
        Future<?>[] thingToCancel = new Future<?>[1];
        results.add(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

                    Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }),
                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }),
                    Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 }));
        }
    
        @ParameterizedTest
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                assertArrayEquals(testFileId, actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setFileId method")
        void testSetFileId() {
            request = new Smb2SetInfoRequest(mockConfig);
            byte[] newFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                newFileId[i] = (byte) (i + 10);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

        protected Map<Pattern, String> passwordMap = new HashMap<>();
    
        /** Cache for parsed password configurations from extraction parameters. */
        private final Map<String, List<Pair<Pattern, String>>> configPasswordMap = new ConcurrentHashMap<>();
    
        /**
         * Creates a new PasswordBasedExtractor instance.
         */
        public PasswordBasedExtractor() {
            super();
        }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Aug 07 02:55:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top