Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,283 for EXPECTED (0.56 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      }
    
      private fun makeSynchronousCall(call: Call): Thread {
        val thread =
          Thread {
            try {
              call.execute()
              throw AssertionError()
            } catch (expected: IOException) {
            }
          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request = Request.Builder().url(url).build()
    
      private fun newRequest(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

        private final AtomicLong integerOverflowsPrevented = new AtomicLong(0);
    
        /**
         * Validate SMB response buffer bounds
         *
         * @param buffer the buffer to validate
         * @param expectedSize expected minimum size
         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
         * @param dictId The dictionary ID.
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            char c2 = seq.charAt(index);
            if (Character.isLowSurrogate(c2)) {
              return Character.toCodePoint(c1, c2);
            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
                    + "' with value "
                    + (int) c2
                    + " at index "
                    + index
                    + " in '"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
         * @param dictId The dictionary ID.
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. cmd/local-locker.go

    // We do not block unlocking or maintenance, but they add to the count.
    // The limit is set to allow for bursty behavior,
    // but prevent requests to overload the server completely.
    // Rejected clients are expected to retry.
    const lockMutexWaitLimit = 1000
    
    // lockRequesterInfo stores various info from the client for each lock that is requested.
    type lockRequesterInfo struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. internal/kms/kms.go

    	// if no explicit GenerateKeyRequest.Name is provided.
    	DefaultKey string
    
    	conn conn // Connection to the KMS
    
    	// Metrics
    	reqOK, reqErr, reqFail atomic.Uint64
    	latencyBuckets         []time.Duration // expected to be sorted
    	latency                []atomic.Uint64
    }
    
    // Version returns version information about the KMS.
    //
    // TODO(aead): refactor this API call since it does not account
    // for multiple KMS/KES servers.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. cmd/metacache-set.go

    				// Nothing more for prefix.
    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    
    // getListQuorum interprets list quorum values and returns appropriate
    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        // copy into existing multimap
        assertThat(Multimaps.invertFrom(single, multimap)).isSameInstanceAs(multimap);
    
        ImmutableMultimap<String, Integer> expected =
            new ImmutableMultimap.Builder<String, Integer>().put("one", 1).put("two", 2).build();
    
        assertEquals(expected, multimap);
      }
    
      public void testAsMap_multimap() {
        Multimap<String, Integer> multimap =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
Back to Top