Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,812 for SMethod (0.24 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Platform.java

       * about arrays for now, as they're a mess. (We previously discussed this in the review of
       * ObjectArrays, which is the main caller of this method.)
       */
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

        }
    
        /**
         * Sets the query builder for filtering documents.
         *
         * @param queryBuilder the query builder to filter documents
         * @return this UpdateLabelJob instance for method chaining
         */
        public UpdateLabelJob query(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            return this;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            this.delayMillisForWaitingNewUrl = delayMillisForWaitingNewUrl;
        }
    
        /**
         * Delays the crawler while waiting for new URLs to be available.
         * This method calibrates CPU load, checks crawler status, applies
         * interval control rules, and then calls the parent implementation.
         */
        @Override
        protected void delayForWaitingNewUrl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

    /**
     * Skeleton implementation of {@link HashFunction}, appropriate for non-streaming algorithms. All
     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

         */
        public long getLeaseDuration() {
            return leaseDuration;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // This is a response, not a request, so this method is not used
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

              .body("FGHIJ")
              .build(),
          )
        }
        server.start()
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .method(method, null)
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(expectedResponseCode)
    
        // Exhaust the content stream.
        response.body.string()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                        }
                        return;
                    }
                }
            }
    
        }
    
        /*
         * Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top