Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 345 for corrupt (0.16 sec)

  1. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        expectedEvents += "ConnectionReleased"
        expectedEvents += "CallEnd"
        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
       * Attempts to write the request body fails fast.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

          input -> input == null || input.length() != 3;
      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java

        unfiltered.put("apple", 2);
        unfiltered.put("banana", 6);
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 5);
    
        SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals("banana", filtered.firstKey());
        assertEquals("cat", filtered.lastKey());
      }
    
      public void testHeadSubTailMap_FilteredMap() {
        SortedMap<String, Integer> unfiltered = createUnfiltered();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-responses.md

        The correct place is:
    
        * In the key `content`, that has as value another JSON object (`dict`) that contains:
            * A key with the media type, e.g. `application/json`, that contains as value another JSON object, that contains:
                * A key `schema`, that has as the value the JSON Schema from the model, here's the correct place.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/ASN1Util.java

                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
                // "c) bits 7 to 1 of the first subsequent octet shall not all be zero."
                if (0 == tagNo)
                {
                    throw new IOException("corrupted stream - invalid high tag number found");
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. tests/count_test.go

    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    	if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil {
    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    	if count != int64(len(users)) {
    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
        TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName());
        for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  10. tests/test_response_by_alias.py

                        "proper OpenAPI use another model with the correct field names"
                    )
                }
            )
        else:
    
            class Config:
                schema_extra = {
                    "description": (
                        "response_model_by_alias=False is basically a quick hack, to support "
                        "proper OpenAPI use another model with the correct field names"
                    )
                }
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.1K bytes
    - Viewed (0)
Back to top