Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,059 for inject (0.04 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        val sslSocket =
          object : DelegatingSSLSocket(context.socketFactory.createSocket() as SSLSocket) {}
        assertFalse(adapter.matchesSocket(sslSocket))
    
        adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1))
        // not connected
        assertNull(adapter.getSelectedProtocol(sslSocket))
      }
    
      companion object {
        @JvmStatic
        @Parameters(name = "{0}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NaturalOrdering.java

      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        return copyToSet(values);
      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

          Map<E, Integer> delegateMap, ImmutableList<Entry<E>> entries, long size) {
        this.delegateMap = delegateMap;
        this.entries = entries;
        this.size = size;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return delegateMap.getOrDefault(element, 0);
      }
    
      @LazyInit private transient @Nullable ImmutableSet<E> elementSet;
    
      @Override
      public ImmutableSet<E> elementSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                final Object defaultValue = method.getDefaultValue();
                return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY;
            } catch (final Exception e) {
                return StringUtil.EMPTY;
            }
        }
    
        private String getDefaultMaxKey() {
            try {
                final Method method = CustomSize.class.getMethod("maxKey");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

        private static final Class<?> EXT_GSS_CONTEXT_CLASS;
        private static final Method INQUIRE_SEC_CONTEXT;
        private static final Object INQUIRE_TYPE_SESSION_KEY;
    
        static {
            Class<?> extendedGSSContextClassPrep = null;
            Method inquireSecContextPrep = null;
            Object inquireTypeSessionKeyPrep = null;
    
            try {
                extendedGSSContextClassPrep = Class.forName(OPENJDK_JGSS_EXT_GSSCTX_CLASS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            }
    
            return e.referent;
        }
    
        /**
         * Encodes an NDR referent pointer.
         *
         * @param obj the object to encode as a referent
         * @param type the referent type
         */
        public void enc_ndr_referent(final Object obj, final int type) {
            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
            switch (type) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    @GwtIncompatible
    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
       *   - Active: shutdown == false
       *   - Shutdown: runningTasks > 0 and shutdown == true
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

        checkNotNull(timeoutUnit);
        return target; // ha ha
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      @ParametricNullness
      public <T extends @Nullable Object> T callWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

     */
    class Trans2SetFileInformationResponseTest {
    
        private Trans2SetFileInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize a new response object before each test
            response = new Trans2SetFileInformationResponse();
        }
    
        /**
         * Test for the constructor of {@link Trans2SetFileInformationResponse}.
         * It should initialize the subCommand correctly.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top