Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for decision (0.08 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
     * @param codePointLimit the number of code points to read in order to make a decision.
     */
    internal fun BufferedSource.isProbablyUtf8(codePointLimit: Long = Long.MAX_VALUE): Boolean {
      try {
        val peek = peek()
        for (i in 0 until codePointLimit) {
          if (peek.exhausted()) {
            break
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            verifyNoInteractions(mockDir);
        }
    
        /**
         * Interaction with dependency: implementation can use directory's methods to make decisions.
         * Tests a filter that uses directory path information.
         */
        @Test
        @DisplayName("filter can use SmbFile directory for decision logic")
        void filterCanUseSmbFileForDecision() throws Exception {
            // Stub the getPath method to return a specific value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. 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();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

              }
    
              // We have a task to execute when we complete the loop.
              else -> {
                readyTask = candidate
              }
            }
          }
    
          // Implement the decision.
          when {
            // We have a task ready to go. Get ready.
            readyTask != null -> {
              beforeRun(readyTask)
    
              // Also start another thread if there's more work or scheduling to do.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   is). If we wanted to be strict about it, we could store the unpark() time in the Waiter node
      //   and we could use that to make a decision about whether or not we timed out prior to being
      //   unparked.
    
      @SuppressWarnings({
        "LabelledBreakTarget", // TODO(b/345814817): Maybe fix?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   is). If we wanted to be strict about it, we could store the unpark() time in the Waiter node
      //   and we could use that to make a decision about whether or not we timed out prior to being
      //   unparked.
    
      @SuppressWarnings({
        "LabelledBreakTarget", // TODO(b/345814817): Maybe fix?
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/LongMath.java

         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
         * Uses the binary GCD algorithm; see http://en.wikipedia.org/wiki/Binary_GCD_algorithm. This is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.28.md

    - CEL authorizer checks no longer raise runtime errors. Calls to "check" will always return a decision object and the authorization error (if any) can be accessed within expressions using the new decision methods "errored" and "error". ([#118804](https://github.com/kubernetes/kubernetes/pull/118804), [@benluddy](https://github.com/benluddy)) [SIG API Machinery]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri Sep 05 03:47:18 UTC 2025
    - 456.9K bytes
    - Viewed (1)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            data[7] = (byte) (high >> 24);
    
            PacDataInputStream pdis = createInputStream(data);
            Date date = pdis.readFiletime();
            assertNotNull(date);
            // Allow for a small difference due to precision loss
            assertEquals(time / 1000, date.getTime() / 1000);
    
            // Test with null date (0x7fffffff ffffffff)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            assertEquals(domainInfo.name.maximum_length / 2, decodedInfo.name.buffer.length);
    
            // Verify SID
            assertNotNull(decodedInfo.sid);
            assertEquals(domainInfo.sid.revision, decodedInfo.sid.revision);
            assertEquals(domainInfo.sid.sub_authority_count, decodedInfo.sid.sub_authority_count);
        }
    
        @Test
        void testLsarDomainInfoEncodeDecodeWithNulls() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top