Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 1,386 for would (0.02 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
     * It can identify areas where string deduplication could provide significant memory savings.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
     * Model model = reader.read(Files.newInputStream(pomPath));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                 */
                if (aggregating && areAllDependenciesInReactor(session.getProjects(), result.getUnresolvedDependencies())) {
                    logger.warn("The following dependencies could not be resolved at this point of the build"
                            + " but seem to be part of the reactor:");
    
                    for (Dependency dependency : result.getUnresolvedDependencies()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. README.md

    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    while (tokenizer.hasMoreTokens()) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464
            SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation
    
            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
            byte[] buffer2 = createBasicNegotiateResponseBuffer();
            // Set maximum 16-bit value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                        propertyPosition = tokenizer.getPosition();
                        value = getPropertyValue(value, tokenizer.nextPropertyName());
                        break;
                    default:
                        // could not parse expression
                        return null;
                }
            }
    
            if (value instanceof Optional<?> optional) {
                value = optional.orElse(null);
            }
            return value;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. internal/etag/etag_test.go

    	},
    	{
    		Content: " ", ETag: ETag{114, 21, 238, 156, 125, 157, 194, 41, 210, 146, 26, 64, 232, 153, 236, 95},
    	},
    	{
    		Content: "Hello World", ETag: ETag{177, 10, 141, 177, 100, 224, 117, 65, 5, 183, 169, 155, 231, 46, 63, 229},
    	},
    }
    
    func TestReader(t *testing.T) {
    	for i, test := range readerTests {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    	err      error
    }{
    	{"", 0, 0, "", nil},
    	{"aaa", 0, 3, "aaa", nil},
    	{"foobar", 0, 2, "fo", nil},
    	{"a", 0, 2, "a", io.EOF},
    	{"helloworld", 4, 3, "owo", nil},
    	{"helloworld", 5, 5, "world", nil},
    	{"helloworld", 5, 6, "world", io.EOF},
    	{"helloworld", 10, 1, "", io.EOF},
    }
    
    func TestPeek(t *testing.T) {
    	for _, test := range peekTests {
    		buf := NewBufferString(test.buffer)
    		buf.Next(test.skip)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        protected void deleteTempDir(final File ownTmpDir) {
            if (ownTmpDir == null) {
                return;
            }
            if (!FileUtils.deleteQuietly(ownTmpDir)) {
                logger.warn("Could not delete temp directory: path={}", ownTmpDir.getAbsolutePath());
            }
        }
    
        /**
         * Appends JAR files from the specified directory to the classpath buffer.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top