Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,773 for pull (0.02 sec)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        }
    
        @Override
        public @Nullable K get(@Nullable Object value) {
          if (value == null || valueTable == null) {
            return null;
          }
          int bucket = Hashing.smear(value.hashCode()) & mask;
          for (ImmutableMapEntry<K, V> entry = valueTable[bucket];
              entry != null;
              entry = entry.getNextInValueBucket()) {
            if (value.equals(entry.getValue())) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public PreauthIntegrityContext initializeSession(String sessionId, byte[] salt, int hashAlgorithm) throws CIFSException {
            if (sessionId == null || sessionId.isEmpty()) {
                throw new CIFSException("Session ID cannot be null or empty");
            }
            if (salt == null || salt.length < 16) {
                throw new CIFSException("Invalid preauth salt: minimum 16 bytes required");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            try {
                // Test null vs null
                assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null)));
    
                // Test null vs empty
                assertFalse(auth1.equals(auth2));
    
                // Test null vs password
                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        val sentRequestMillis = System.currentTimeMillis()
    
        var invokeStartEvent = true
        var responseBuilder: Response.Builder? = null
        var sendRequestException: IOException? = null
        val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null
        val isUpgradeRequest =
          !hasRequestBody &&
            "upgrade".equals(request.header("Connection"), ignoreCase = true)
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/RequestTest.java

        }
    
        @Test
        void testGetNextNull() {
            // Test case for getNext method when it returns null (no chained request)
            when(mockRequest.getNext()).thenReturn(null);
    
            assertNull(mockRequest.getNext(), "Next request should be null when mocked to do so.");
            verify(mockRequest, times(1)).getNext();
        }
    
        @Test
        void testGetResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response
            .Builder()
            .request(chain.request())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
            value ?: throw NullPointerException("builder.value == null"),
            expiresAt,
            domain ?: throw NullPointerException("builder.domain == null"),
            path,
            secure,
            httpOnly,
            persistent,
            hostOnly,
            sameSite,
          )
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test all read methods with null buffer")
        void testReadMethodsWithNullBuffer() {
            // Even with null buffer, methods should return 0 without throwing exception
            int result = response.readSetupWireFormat(null, 0, 0);
            assertEquals(0, result);
    
            result = response.readParametersWireFormat(null, 0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top