Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 342 for too (0.05 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

                assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5));
            }
    
            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle malformed buffer gracefully")
            void testReadDataWireFormatMalformedBuffer() {
                byte[] buffer = new byte[3]; // Too small for valid DFS referral
    
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, buffer.length);
                });
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    We already know that this method is related to the **items** because that word is in the `ItemsService` (taken from the tag), but we still have the tag name prefixed in the method name too. 😕
    
    We will probably still want to keep it for OpenAPI in general, as that will ensure that the operation IDs are **unique**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    					}
    					custom["success_versions"] = fmt.Sprint(successVersions)
    					custom["failed_versions"] = fmt.Sprint(failVersions)
    				},
    				// Too many disks failed.
    				finished: func(errs []error) {
    					if f.dataUsageScannerDebug {
    						console.Debugf(healObjectsPrefix+" too many errors: %v\n", errs)
    					}
    					cancel()
    				},
    			})
    
    			stopFn()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = errors.New("healing results were not consumed for too long")
    	errHealStopSignalled = errors.New("heal stop signaled")
    
    	errFnHealFromAPIErr = func(ctx context.Context, err error) error {
    		apiErr := toAdminAPIErr(ctx, err)
    		return fmt.Errorf("Heal internal error: %s: %s",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeShort(0xff00) // == Indexed - Add idx = 127
        assertFailsWith<IOException> {
          hpackReader!!.readHeaders()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Header index too large 127")
        }
      }
    
      // Example taken from twitter/hpack DecoderTest.testInsidiousIndex
      @Test
      fun readIndexedHeaderFieldInsidiousIndex() {
        bytesIn.writeByte(0xff) // == Indexed - Add ==
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/SubscriberRegistry.java

           * learn that some other exception besides IllegalArgumentException is common, then we could
           * add another special case to throw an instance of it, too.
           */
          throw e;
        }
      }
    
      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
        Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type1Message(invalidBytes);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    And if you see the resulting OpenAPI (at `/openapi.json` in your API), you will see your extension as part of the specific *path operation* too:
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      // checkNoConflictInKeyBucket is static imported from RegularImmutableMap
    
      /**
       * @throws IllegalArgumentException if another entry in the bucket has the same key
       * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash
       *     flooding attack
       */
      private static void checkNoConflictInValueBucket(
          Object value, Entry<?, ?> entry, @Nullable ImmutableMapEntry<?, ?> valueBucketHead)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top