Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 1,916 for error_ (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertEquals(-2, binarySearch(0, 1) { index -> 2.compareTo(table[index]) })
      }
    
      @Test fun binarySearchEmptyRange() {
        assertEquals(-1, binarySearch(0, 0) { error("unexpected call") })
      }
    
      /** Confirm the compact table has the exact same behavior as the plain table. */
      @Test fun comparePlainAndCompactTables() {
        val buffer = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

        }
        return result
      }
    
      private val Int.punycodeDigit: Int
        get() =
          when {
            this < 26 -> this + 'a'.code
            this < 36 -> (this - 26) + '0'.code
            else -> error("unexpected digit: $this")
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
            d.setErrorCode(123); // non-zero error
            assertFalse(d.hasMoreElements(), "errorCode non-zero overrides hasMore flag");
        }
    
        @Test
        public void nextElement_firstCall_flipsIsPrimary() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            assertDoesNotThrow(() -> filter.init(filterConfig));
        }
    
        @Test
        void testDestroy() {
            // Test that destroy method executes without errors
            assertDoesNotThrow(() -> filter.destroy());
        }
    
        @Test
        void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception {
            // Initialize filter first
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmSspTest.java

        }
    
        @BeforeEach
        public void setUp() throws UnknownHostException {
            ntlmSsp = new NtlmSsp();
    
            // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks
            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStatsAccumulator}. This tests the stats methods for instances built with
     * {@link PairedStatsAccumulator#add}, and various error cases of that method. For tests of the
     * {@link PairedStatsAccumulator#snapshot} method which returns {@link PairedStats} instances, see
     * {@link PairedStatsTest}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE);
                    qr.received();
                    q.setResponse(qr);
                    // Now emulate error thrown by transport for create chain
                    throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false);
                }
                return null;
            }).when(tree).send(any(Request.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            Field resultCodeField = NameServicePacket.class.getDeclaredField("resultCode");
            resultCodeField.setAccessible(true);
            resultCodeField.set(nameQueryResponse, 1); // Simulate an error result code
    
            byte[] src = new byte[10];
            int srcIndex = 0;
            assertEquals(0, nameQueryResponse.readRDataWireFormat(src, srcIndex), "readRDataWireFormat should return 0 if resultCode is not 0");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         *
         * @param material
         *            The raw Type-2 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type2Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	var (
    		listObjectsV2Info ListObjectsV2Info
    		err               error
    	)
    
    	if r.Header.Get(xMinIOExtract) == "true" && strings.Contains(prefix, archivePattern) {
    		// Initiate a list objects operation inside a zip file based in the input params
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top