Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2761 - 2770 of 4,872 for new1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

     */
    @DisplayName("PluginUpgradeStrategy")
    class PluginUpgradeStrategyTest {
    
        private PluginUpgradeStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new PluginUpgradeStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        private UpgradeContext createMockContext(UpgradeOptions options) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  2. internal/etag/etag.go

    	v, ok := h["Content-Md5"]
    	if !ok {
    		return nil, nil
    	}
    	if v[0] == "" {
    		return nil, errors.New("etag: content-md5 is set but contains no value")
    	}
    	b, err := base64.StdEncoding.Strict().DecodeString(v[0])
    	if err != nil {
    		return nil, err
    	}
    	if len(b) != md5.Size {
    		return nil, errors.New("etag: invalid content-md5")
    	}
    	return ETag(b), nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "new", "", "", 3, resultCases[5], nil, true},
    		{"test-bucket-list-object", "new", "", "", 4, resultCases[5], nil, true},
    		{"test-bucket-list-object", "new", "", "", 5, resultCases[5], nil, true},
    		{"test-bucket-list-object", "obj", "", "", 3, resultCases[6], nil, true},
    		// Testing with prefix and truncation (27-28).
    		{"test-bucket-list-object", "new", "", "", 1, resultCases[7], nil, true},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

     */
    @DisplayName("ModelUpgradeStrategy")
    class ModelUpgradeStrategyTest {
    
        private ModelUpgradeStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new ModelUpgradeStrategy();
        }
    
        private UpgradeContext createMockContext(UpgradeOptions options) {
            return TestUtils.createMockContext(options);
        }
    
        @Nested
        @DisplayName("Applicability")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            String resource = "/poms/validation/" + pom;
            try (InputStream is = getClass().getResourceAsStream(resource)) {
                assertNotNull(is, "missing resource: " + resource);
                return new Model(new MavenStaxReader().read(is));
            }
        }
    
        private SimpleProblemCollector validate(String pom) throws Exception {
            return validateEffective(pom, UnaryOperator.identity());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            /** @since 2.0 */
            @Incubating
            fun wrap(a: kotlin.collections.HashMap<String, String>, b: kotlin.collections.LinkedHashMap<String, String>): Unit = Unit
    
        """
    
        @Test
        fun `new top-level kotlin members`() {
    
            checkNotBinaryCompatibleKotlin(
                v2 = """
    
               $publicKotlinMembers
    
                const val cathedral = "cathedral"
    
                """
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            char[] chars = new char[0];
            assertThat(StringUtil.newStringUnsafe(chars), is(""));
            chars = new char[] { 'a', 'b', 'c' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc"));
            chars = new char[] { 'a', 'b', 'c', ' ' };
            assertThat(StringUtil.newStringUnsafe(chars), is("abc "));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java

     */
    public class CharMappingCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(CharMappingCreator.class);
    
        /**
         * Constructs a new CharMappingCreator with the mapping file pattern.
         */
        public CharMappingCreator() {
            super("mapping.*\\.txt");
        }
    
        /**
         * Registers this creator with the dictionary manager after construction.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

    class AcceptedApiChangesJsonFileManagerTest extends Specification {
    
        @TempDir
        File temporaryFolder
    
        @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager()
    
        def jsonFile
    
        def setup() {
            jsonFile = new File(temporaryFolder, 'acceptedChanges.json')
        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
Back to Top