Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 401 for Replaced (0.06 seconds)

  1. fastapi/_compat/v2.py

            # Ref: https://github.com/pydantic/pydantic/blob/d61792cc42c80b13b23e3ffa74bc37ec7c77f7d1/pydantic/schema.py#L207
            json_schema["title"] = field.field_info.title or field_alias.title().replace(
                "_", " "
            )
        return json_schema
    
    
    def get_definitions(
        *,
        fields: Sequence[ModelField],
        model_name_map: ModelNameMap,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            // modify parent
            File parent = new File(tempDir.toFile(), "pom.xml");
            String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
            parentContent = parentContent.replace(
                    "<packaging>pom</packaging>",
                    "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. cmd/tier.go

    		// This makes a local copy of tier config before
    		// passing a reference to it.
    		tier := tier.Clone()
    		tierCfgs = append(tierCfgs, tier)
    	}
    	return tierCfgs
    }
    
    // Edit replaces the credentials of the remote tier specified by tierName with creds.
    func (config *TierConfigMgr) Edit(ctx context.Context, tierName string, creds madmin.TierCreds) error {
    	config.Lock()
    	defer config.Unlock()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. internal/event/target/elasticsearch.go

    	if err != nil {
    		return false, err
    	}
    
    	return target.client.ping(ctx, target.args)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will be replayed when the elasticsearch connection is active.
    func (target *ElasticsearchTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // Use replace(key, null, value) to make sure the *main* session, i.e. the one used
                // to load the projects, is stored. This is to avoid the session being overwritten
                // if a plugin uses the ProjectBuilder.
                this.session
                        .getData()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
                // Was not an expression
                return expression.replace("$$", "$");
            }
    
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            if ("localRepository".equals(expression)) {
                value = session.getLocalRepository();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

                Path base = project.getOutputDirectory(scope());
                return targetPath.map(base::resolve).orElse(base);
            });
        }
    
        /**
         * {@return whether resources are filtered to replace tokens with parameterized values}
         * The default value is {@code false}.
         */
        default boolean stringFiltering() {
            return false;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. scripts/docs.py

            if content_format in previous_content:
                continue
            previous_content.add(content_format)
            version_file = file_path.with_name(
                file_path.name.replace(".py", f"_{target_version}.py")
            )
            logging.info(f"Writing to {version_file}")
            version_file.write_text(content_format, encoding="utf-8")
    
    
    @app.command()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            "void" -> "Unit"
            "?" -> "*"
            in mappedTypeStrings.keys -> mappedTypeStrings[binaryName]!!
            in primitiveTypeStrings.keys -> primitiveTypeStrings[binaryName]!!
            else -> binaryName.replace('$', '.')
        }
    
    
    /**
     * See https://kotlinlang.org/docs/reference/java-interop.html#mapped-types
     */
    private
    val mappedTypeStrings =
        mapOf(
            // Built-ins
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  10. cmd/data-usage_test.go

    	want, err := scanDataFolder(t.Context(), nil, &xls, dataUsageCache{Info: dataUsageCacheInfo{Name: bucket}}, getSize, 0, weSleep)
    	if err != nil {
    		t.Fatal(err)
    	}
    	e := want.find("abucket/dir2")
    	want.replace("abucket/dir2", "", *e)
    	var buf bytes.Buffer
    	err = want.serializeTo(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Log("serialized size:", buf.Len(), "bytes")
    	var got dataUsageCache
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top