- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 676 for printf (0.04 seconds)
-
cmd/httprange.go
func (h *HTTPRangeSpec) String(resourceSize int64) string { if h == nil { return "" } off, length, err := h.GetOffsetLength(resourceSize) if err != nil { return "" } return fmt.Sprintf("%d-%d", off, off+length-1) } // ToHeader returns the Range header value. func (h *HTTPRangeSpec) ToHeader() (string, error) { if h == nil { return "", nil } start := strconv.Itoa(int(h.Start))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java
message.resetStyle().append(resource.getResourceName()); out.println(message); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException { TransferResource resource = event.getResource(); // TODO This needs to be colorized out.println("[WARNING] " + event.getException().getMessage() + " from " + resource.getRepositoryId() + " for "
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 4.3K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle.go
w.Header()[xhttp.AmzExpiration] = []string{ fmt.Sprintf(`expiry-date="%s", rule-id="%s"`, event.Due.Format(http.TimeFormat), event.RuleID), } case TransitionAction, TransitionVersionAction: w.Header()[xhttp.MinIOTransition] = []string{ fmt.Sprintf(`transition-date="%s", rule-id="%s"`, event.Due.Format(http.TimeFormat), event.RuleID), } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 03 06:45:06 GMT 2025 - 18.2K bytes - Click Count (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
label: FastAPI Version description: | What FastAPI version are you using? You can find the FastAPI version with: ```bash python -c "import fastapi; print(fastapi.__version__)" ``` validations: required: true - type: input id: pydantic-version attributes: label: Pydantic Version description: |Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java
import org.apache.maven.plugin.descriptor.Parameter; import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator; import org.codehaus.plexus.configuration.PlexusConfiguration; /** * Print warnings if deprecated core parameters are used in mojo. * * @since 3.9.1 */ @Singleton @Named class DeprecatedCoreExpressionValidator extends AbstractMavenPluginParametersValidator {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
System.out.println("Found documentation files or anchors that do not exist:"); for (String error : allErrors) { System.out.println(error); } throw new RuntimeException("Found " + allErrors.size() + " missing documentation files or anchors."); } else {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial008b.py
) def get_module(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.python_types.{request.param}") return mod def test_process_items(module: ModuleType): with patch("builtins.print") as mock_print: module.process_item("a") assert mock_print.call_count == 1
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 637 bytes - Click Count (0) -
cmd/kms-handlers_test.go
"Resource": ["arn:minio:kms:::non-matching-key-name"] }`, wantStatusCode: http.StatusForbidden, wantResp: []string{"AccessDenied"}, }, } for testNum, test := range tests { t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) { execKMSTest(t, test, adminTestBed) }) } } func TestKMSHandlersKeyStatus(t *testing.T) { adminTestBed, tearDown := setupKMSTest(t, true)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0) -
clause/returning_test.go
}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }, clause.Returning{}}, "SELECT * FROM `users` RETURNING *", nil, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:18:04 GMT 2025 - 1.4K bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial011.py
@pytest.mark.parametrize( "module_name", [ pytest.param("tutorial011_py39"), pytest.param("tutorial011_py310", marks=needs_py310), ], ) def test_run_module(module_name: str): with patch("builtins.print") as mock_print: runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__") assert mock_print.call_count == 2 call_args = [str(arg.args[0]) for arg in mock_print.call_args_list]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 691 bytes - Click Count (0)