Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for Farmer (0.04 sec)

  1. src/test/java/jcifs/smb/MIENameTest.java

                            IllegalArgumentException.class),
    
                    // Name length larger than remaining bytes - use method reference
                    Arguments.of("name length exceeds remaining", (java.util.function.Supplier<byte[]>) () -> {
                        byte[] buf = buildBuffer(der, nameBytes);
                        // Corrupt NAME_LEN to be larger than actual by +5
                        int i = 2 + 2 + der.length; // index where NAME_LEN starts
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            SuggestItem firstItem = items.get(0);
            assertTrue(firstItem.getTags().length >= 2);
        }
    
        @Test
        public void test_parseDocumentWithLargeText() throws Exception {
            // Test with text larger than maxAnalyzedContentLength
            StringBuilder largeText = new StringBuilder();
            for (int i = 0; i < 2000; i++) {
                largeText.append("ใƒ†ใ‚นใƒˆ ");
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
         * @param len the maximum number of bytes to read
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

          throw new SkipThisScenarioException();
        }
      }
    
      // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look
      // larger than they are.
      @SuppressWarnings("FutureReturnValueIgnored")
      @Footprint(exclude = {Runnable.class, Executor.class, Thread.class, Exception.class})
      public Object measureSize() {
        for (Thread thread : blockedThreads) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertEquals("cifs", cloned.getService());
            assertEquals(123, cloned.getUserLifeTime());
            assertEquals(456, cloned.getLifeTime());
    
            // toString should include class marker and not throw
            assertTrue(cloned.toString().startsWith("Kerb5Authenticator["));
        }
    
        @Test
        @DisplayName("equals/hashCode: subject semantics")
        void equalsAndHashCode_subjectSemantics() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            try {
                final StandardQueryParser parser = new StandardQueryParser();
                parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
    
                // Parse with the first field if available, otherwise use "default"
                String defaultField = fields != null && fields.length > 0 ? fields[0] : "default";
                termQueryList = getTermQueryList(parser.parse(q, defaultField), fields);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 17.5K bytes
    - Viewed (1)
  9. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is larger than the minimal buffer size.
         */
        @Test
        void testConstructorWithDataMuchLarger() {
            // A byte array with a length greater than 32 should also be considered too large.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
            assertEquals("00001234", Hexdump.toHexString(0x1234, 8));
            assertEquals("1234", Hexdump.toHexString(0x1234, 4));
            assertEquals("34", Hexdump.toHexString(0x1234, 2));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top