Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 3,706 for private (0.06 sec)

  1. android/guava/src/com/google/common/io/MultiInputStream.java

     * a time.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiInputStream extends InputStream {
    
      private final Iterator<? extends ByteSource> it;
      private @Nullable InputStream in;
    
      /**
       * Creates a new instance.
       *
       * @param it an iterator of I/O suppliers that will provide each substream
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          entry ->
              !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);
    
      protected Multimap<String, Integer> create() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacUnicodeString.java

     * This class encapsulates the metadata for a Unicode string including its length,
     * maximum length, and pointer to the actual string data.
     */
    public class PacUnicodeString {
    
        private final short length;
        private final short maxLength;
        private final int pointer;
    
        /**
         * Constructs a new PacUnicodeString instance.
         *
         * @param length the actual length of the string in bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

            }
    
            return repository;
        }
    
        private static RepositorySystem rs(PlexusContainer c) {
            try {
                return c.lookup(RepositorySystem.class);
            } catch (ComponentLookupException e) {
                throw new IllegalStateException(e);
            }
        }
    
        private static RepositorySystemSession rss(PlexusContainer c) {
            try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      override fun hashCode(): Int = mediaType.hashCode()
    
      companion object {
        private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"
        private const val QUOTED = "\"([^\"]*)\""
        private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
        private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    
        /**
         * Returns a media type for this string.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MoreCollectors.java

       */
      @SuppressWarnings("unchecked")
      public static <T> Collector<T, ?, Optional<T>> toOptional() {
        return (Collector) TO_OPTIONAL;
      }
    
      private static final Object NULL_PLACEHOLDER = new Object();
    
      private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT =
          Collector.<@Nullable Object, ToOptionalState, @Nullable Object>of(
              ToOptionalState::new,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class ChannelInfoTest {
    
        @Mock
        private SmbTransport mockTransport;
    
        @Mock
        private CommonServerMessageBlock mockOperation;
    
        private NetworkInterfaceInfo localInterface;
        private NetworkInterfaceInfo remoteInterface;
        private ChannelInfo channelInfo;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(valueRef);
        return entry;
      }
    
      static class DummyEntry<K, V> implements ReferenceEntry<K, V> {
        private @Nullable K key;
        private final int hash;
        private final ReferenceEntry<K, V> next;
    
        public DummyEntry(K key, int hash, ReferenceEntry<K, V> next) {
          this.key = key;
          this.hash = hash;
          this.next = next;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
      private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>();
    
      private static final Map<Class<?>, TesterRequirements> classTesterRequirementsCache =
          new HashMap<>();
    
      private static final Map<Method, TesterRequirements> methodTesterRequirementsCache =
          new HashMap<>();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheLoader.java

       *     key
       */
      public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) {
        return new SupplierToCacheLoader<>(supplier);
      }
    
      private static final class FunctionToCacheLoader<K, V> extends CacheLoader<K, V>
          implements Serializable {
        private final Function<K, V> computingFunction;
    
        FunctionToCacheLoader(Function<K, V> computingFunction) {
          this.computingFunction = checkNotNull(computingFunction);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top