Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 880 for called (0.23 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          assertEquals(Protocol.HTTP_2, response.protocol)
        }
    
        // Only logs to the test logger above
        // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called
        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc", headers = Headers.headersOf("cache-control", "public, max-age=3")))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosErrorTest.java

            for (int dos : inputs) {
                int nt = findNtStatusOrMinusOne(dos);
                if (nt != -1) {
                    consumer.accept(dos, nt);
                }
            }
    
            // Assert: consumer called exactly for the 3 known codes, with the right arguments
            ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
            ArgumentCaptor<Integer> ntCaptor = ArgumentCaptor.forClass(Integer.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/index.md

        * `bearer`: a header `Authorization` with a value of `Bearer ` plus a token. This is inherited from OAuth2.
        * HTTP Basic authentication.
        * HTTP Digest, etc.
    * `oauth2`: all the OAuth2 ways to handle security (called "flows").
        * Several of these flows are appropriate for building an OAuth 2.0 authentication provider (like Google, Facebook, X (Twitter), GitHub, etc):
            * `implicit`
            * `clientCredentials`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	}
    
    	_, err = obj.Stat()
    	if err != nil {
    		return nil, err
    	}
    
    	return obj, nil
    }
    
    // TransferError will catch network errors during transfer.
    // When TransferError() is called Close() will also
    // be called, so we do not need to Wait() here.
    func (w *writerAt) TransferError(err error) {
    	_ = w.w.CloseWithError(err)
    	_ = w.r.CloseWithError(err)
    	w.err = err
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        assertTrue(Thread.holdsLock(mutex));
        return super.isEmpty();
      }
    
      /*
       * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator:
       * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers
       * are responsible for taking the mutex themselves:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertTrue(ex.getMessage().contains("Server does not support NTLM authentication"));
    
            // Verify the decision consulted the configuration
            // getConfig() is called twice: once in Kerb5Authenticator and once in NtlmPasswordAuthenticator
            verify(tc, times(2)).getConfig();
            verify(config, times(1)).isAllowNTLMFallback();
            verify(config, times(1)).isUseRawNTLM();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        assertTrue(Thread.holdsLock(mutex));
        return super.isEmpty();
      }
    
      /*
       * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator:
       * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers
       * are responsible for taking the mutex themselves:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  Evaluate XPath string to an XObject.
         *  XPath namespace prefixes are resolved from the namespaceNode.
         *  The implementation of this is a little slow, since it creates
         *  a number of objects each time it is called.  This could be optimized
         *  to keep the same objects around, but then thread-safety issues would arise.
         *
         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    calmly, though still sobbing a little now and then, `we went to
    school in the sea.  The master was an old Turtle--we used to call
    him Tortoise--'
    
      `Why did you call him Tortoise, if he wasn't one?' Alice asked.
    
      `We called him Tortoise because he taught us,' said the Mock
    Turtle angrily:  `really you are very dull!'
    
      `You ought to be ashamed of yourself for asking such a simple
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top