- Sort Score
- Num 10 results
- Language All
Results 2751 - 2760 of 2,945 for methods (0.1 seconds)
-
cmd/erasure-metadata-utils.go
package cmd import ( "context" "encoding/binary" "errors" "hash/crc32" "github.com/minio/pkg/v3/sync/errgroup" ) // counterMap type adds GetValueWithQuorum method to a map[T]int used to count occurrences of values of type T. type counterMap[T comparable] map[T]int // GetValueWithQuorum returns the first key which occurs >= quorum number of times.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
String schemaLocation = ModelVersionUtils.getSchemaLocationForModelVersion("5.0.0"); assertNotNull(schemaLocation); // Should return 4.2.0 schema for newer versions // The method returns the 4.2.0 schema location for versions newer than 4.1.0 assertTrue( schemaLocation.contains("4.2.0"),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`. You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`: {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *} Now instead of returning: ```json {"message": "Hello World"} ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(enumer.hasMoreElements()); assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
if (pageSize > 0) { calculatePageInfo(); } } /** * Calculates pagination information based on the current parameters. * This method computes page counts, navigation flags, record numbers, and page number lists. */ protected void calculatePageInfo() { int startWithOffset = start - offset; if (startWithOffset < 0) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
// Only in this class, VALUES must be strictly ascending private static final byte[] VALUES = {LEAST, 127, (byte) 128, (byte) 129, GREATEST}; @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testToInt() { assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0); assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1); assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
* repository). */ File getPomFile(); /** * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make * the model builder operate in project mode. This mode is meant for effective models that are employed during theCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
@Inject public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) { this.orchestrator = orchestrator; } /** * Executes the upgrade goal. * Template method that calls doUpgrade and optionally saves modifications. */ @Override public int execute(UpgradeContext context) throws Exception { UpgradeOptions options = context.options();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
return; } // Update namespace based on target model version String targetNamespace = getNamespaceForModelVersion(targetModelVersion); // Use element's attribute method to set the namespace declaration // This modifies the element in place and marks it as modified root.attribute("xmlns", targetNamespace); context.detail("Updated namespace to " + targetNamespace);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 16.6K bytes - Click Count (0) -
docs/tr/docs/python-types.md
Bu çok basit bir program. Ama şimdi bunu sıfırdan yazdığınızı hayal edin. Bir noktada fonksiyon tanımını yazmaya başlamış olacaktınız, parametreler hazır... Ama sonra "ilk harfi büyük harfe çeviren method"u çağırmanız gerekiyor. `upper` mıydı? `uppercase` miydi? `first_uppercase`? `capitalize`? Sonra eski programcı dostuyla denersiniz: editör autocomplete.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0)