Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for exhaustion (0.11 seconds)

  1. src/main/java/jcifs/SmbResourceException.java

            }
        }
    
        /**
         * Static factory for file handle exhaustion
         */
        public static SmbResourceException fileHandleExhausted(int errorCode) {
            return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE);
        }
    
        /**
         * Static factory for connection pool exhaustion
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            });
    
            assertTrue(exception.getMessage().contains("Invalid negotiate context count: 65535"));
        }
    
        /**
         * Test validation of excessive buffer sizes to prevent resource exhaustion.
         */
        @Test
        public void testExcessiveBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test excessive maxTransactSize (> 16MB)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex + 4);
            this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex + 8);
    
            // Validate reasonable buffer sizes to prevent resource exhaustion
            if (this.maxTransactSize < 0 || this.maxTransactSize > 16777216) { // 16MB max
                throw new SMBProtocolDecodingException("Invalid maxTransactSize: " + this.maxTransactSize + " (must be 0-16777216)");
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                        val source = responseBody.source()
                        if (source.isOpen) {
                          source.skipAll()
                        }
                        return peek() ?: error("null trailers after exhausting response body?!")
                      }
                    },
                  ).build()
              }
            }
          if ("close".equals(response.request.header("Connection"), ignoreCase = true) ||
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. cmd/object-api-multipart_test.go

    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	obj.DeleteBucket(context.Background(), "abc", DeleteBucketOptions{})
    
    	// Collection of non-exhaustive PutObjectPart test cases, valid errors
    	// and success responses.
    	testCases := []struct {
    		bucketName      string
    		objName         string
    		uploadID        string
    		PartID          int
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  }
                });
    
        List<String> actual = newArrayList(result);
        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  7. cmd/bucket-handlers_test.go

    func testListMultipartUploadsHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Collection of non-exhaustive ListMultipartUploads test cases, valid errors
    	// and success responses.
    	testCases := []struct {
    		// Inputs to ListMultipartUploads.
    		bucket             string
    		prefix             string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <magic priority="20">
          <!-- Only magic for default autoconf/automake produced ones -->
          <match value="# Makefile.in generated by" type="string" offset="0"/>
          <!-- Not exhaustive, and most people don't set this! -->
          <match value="#!make" type="string" offset="0"/>
          <match value="#!/usr/bin/make" type="string" offset="0"/>
          <match value="#!/usr/local/bin/make" type="string" offset="0"/>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Oct 16 07:46:32 GMT 2025
    - 320.2K bytes
    - Click Count (5)
  9. lib/fips140/v1.1.0-rc1.zip

    internal error: unsupported γ2") } return h, count1s } // highBits32 implements HighBits from FIPS 204 for γ2 = (q - 1) / 32. func highBits32(x uint32) byte { // The implementation is based on the reference implementation and on // BoringSSL. There are exhaustive tests in TestDecompose that compare it to // a straightforward implementation of Decompose from the spec, so for our // purposes it only has to work and be constant-time. r1 := (x + 127) >> 7 r1 = (r1*1025 + (1 << 21)) >> 22 r1 &= 0b1111 return...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top