Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 892 for Caller (0.04 seconds)

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

         * @param encoding the encoding
         * @return this CurlRequest instance
         * @throws CurlException if the method is called after the param method
         */
        public CurlRequest encoding(final String encoding) {
            if (paramList != null) {
                throw new CurlException("This method must be called before param method.");
            }
            this.encoding = encoding;
            return this;
        }
    
        /**
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/AddressTest.java

            // When
            String firstName = mockAddress.firstCalledName();
    
            // Then
            assertEquals(expectedFirstName, firstName, "Should return first called name");
            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
        @DisplayName("nextCalledName should return valid name for fallback attempts")
        void testNextCalledNameContract() {
            // Given
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * An analogue of {@link java.util.function.Function} also accepting an index.
       *
       * <p>This interface is only intended for use by callers of {@link #mapWithIndex(Stream,
       * FunctionWithIndex)}.
       *
       * @since 33.4.0 (but since 21.0 in the JRE flavor)
       */
      public interface FunctionWithIndex<T extends @Nullable Object, R extends @Nullable Object> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

            }
        }
    
        /**
         * Test that validateInputStream is called during getText execution.
         */
        public void test_validateInputStream_calledDuringGetText() {
            final InputStream in = new ByteArrayInputStream("test data".getBytes());
    
            extractor.getText(in, null);
    
            assertTrue("validateInputStream should be called", extractor.isValidateCalled());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Act
            aliasHandle.close();
    
            // Assert
            // Verify that sendrecv was called with MsrpcSamrCloseHandle
            verify(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
            // Verify that close was called only once on the mockDcerpcHandle for MsrpcSamrCloseHandle
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      /*
       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
       * - The map has not switched to delegating to a java.util implementation to mitigate hash
       *   flooding. Callers can confirm this by null-checking delegateOrNull().
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            // Create an NdrSmall object with a specific value
            NdrSmall ndrSmall = new NdrSmall(100);
    
            // Call the encode method
            ndrSmall.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_small was called with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_small(100);
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    
        @Test
        void testDecode() throws NdrException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
              public void onFailure(Throwable t) {
                synchronized (monitor) {
                  assertFalse(called);
                  assertThat(t).isInstanceOf(CancellationException.class);
    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)
  10. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertEquals("file2.txt", second.getName());
    
            assertFalse(iterator.hasNext(), "Should not have more elements");
    
            // Verify filter was called for each element
            verify(mockFilter, times(2)).accept(any(SmbResource.class));
        }
    
        /**
         * Test iterator with filter that rejects all elements.
         */
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top