Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 663 for Prevent (0.03 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplTest.java

            verify(transport, times(1)).acquire();
            assertTrue(session.isInUse());
        }
    
        @Test
        @DisplayName("getSessionKey: throws when absent, returns when present")
        void testGetSessionKey() throws Exception {
            SmbSessionImpl session = newSession();
    
            // Absent key -> CIFSException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
            assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7);
            // And second block is present and not all zeros
            assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16)));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code If-Unmodified-Since} header field name. */
      public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
    
      /** The HTTP {@code Last-Event-ID} header field name. */
      public static final String LAST_EVENT_ID = "Last-Event-ID";
    
      /** The HTTP {@code Max-Forwards} header field name. */
      public static final String MAX_FORWARDS = "Max-Forwards";
    
      /** The HTTP {@code Origin} header field name. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals(1, supported.length);
            assertEquals(new ASN1ObjectIdentifier("1.3.6.1.5.5.2"), supported[0]);
        }
    
        @Test
        @DisplayName("isSupported always returns false (prevents nesting)")
        void testIsSupportedAlwaysFalse() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier any = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            assertFalse(ctx.isSupported(any));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * the proxy. This proxy connection is called a "TLS Tunnel" and is specified by
     * [RFC 2817][1]. The HTTP CONNECT request that creates this tunnel connection is special: it
     * does not participate in any [interceptors][Interceptor] or [event listeners][EventListener]. It
     * doesn't include the motivating request's HTTP headers or even its full URL; only the target
     * server's hostname is sent to the proxy.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             * Gets the notification type.
             *
             * @return the witness event type for this notification
             */
            public WitnessEventType getNotificationType() {
                return notificationType;
            }
    
            /**
             * Sets the notification type.
             *
             * @param notificationType the witness event type for this notification
             */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedLists.java

         * list that compares as equal to the key.
         *
         * <p>This is equivalent to the behavior of {@link java.util.Collections#binarySearch(List,
         * Object)} when the key isn't present, since {@code ~insertionIndex} is equal to {@code -1 -
         * insertionIndex}.
         */
        INVERTED_INSERTION_INDEX {
          @Override
          public int resultIndex(int higherIndex) {
            return ~higherIndex;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlTest.java

            assertNotNull(Curl.connect("http://proxy.example.com:3128"));
        }
    
        @Test
        public void test_HttpMethodEnumValues() {
            // ## Test that all expected HTTP methods are present in the enum ##
    
            // ## Act ##
            final Method[] methods = Method.values();
    
            // ## Assert ##
            assertEquals(8, methods.length); // GET, POST, PUT, DELETE, HEAD, OPTIONS, TRACE, CONNECT
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Service.java

       *
       * <p>All methods are no-ops by default, implementors should override the ones they care about.
       *
       * @author Luke Sandberg
       * @since 15.0 (present as an interface in 13.0)
       */
      abstract class Listener {
        /** Constructor for use by subclasses. */
        public Listener() {}
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        }
        return unmodifiableList(list);
      }
    
      /**
       * @return a suitable location for a null element, to use when initializing containers for tests
       *     that involve a null element being present.
       */
      protected int getNullLocation() {
        return getNumElements() / 2;
      }
    
      protected MinimalCollection<E> createDisjointCollection() {
        return MinimalCollection.of(e3(), e4());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top