- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,327 for array (0.03 sec)
-
guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
@BeforeExperiment void setUp() throws Exception { Random r = new Random(); ba1 = new byte[length]; r.nextBytes(ba1); ba2 = Arrays.copyOf(ba1, ba1.length); // Differ at the last element ba3 = Arrays.copyOf(ba1, ba1.length); ba4 = Arrays.copyOf(ba1, ba1.length); ba3[ba1.length - 1] = (byte) 43; ba4[ba1.length - 1] = (byte) 42;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java
ArtifactRepository repository = repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null); repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server)); Authentication authentication = repository.getAuthentication(); assertNotNull(authentication); assertEquals("jason", authentication.getUsername());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FacetInfo.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/bpool/bpool.go
default: // buffer didn't go back into pool, just discard } } // Width returns the width of the byte arrays in this pool. func (bp *BytePoolCap) Width() (n int) { if bp == nil { return 0 } return bp.w } // WidthCap returns the cap width of the byte arrays in this pool. func (bp *BytePoolCap) WidthCap() (n int) { if bp == nil { return 0 } return bp.wcap }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java
if (session != null) { repositorySystem.injectMirror(session, Arrays.asList(repository)); repositorySystem.injectProxy(session, Arrays.asList(repository)); repositorySystem.injectAuthentication(session, Arrays.asList(repository)); } return repository; } private static RepositorySystem rs(PlexusContainer c) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/IngestFactory.java
if (logger.isDebugEnabled()) { logger.debug("Loaded {}", ingester.getClass().getSimpleName()); } final Ingester[] newIngesters = Arrays.copyOf(ingesters, ingesters.length + 1); newIngesters[ingesters.length] = ingester; Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority); ingesters = newIngesters; } public Ingester[] getIngesters() { return ingesters;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; import java.util.Arrays; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class ModelBuildingExceptionTest { @Test void testMessage() { DefaultModelProblem pb1 =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
*/ package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ class FilterHashEqualsTest { @Test void testIncludesExcludesArtifactFilter() { List<String> patterns = Arrays.asList("c", "d", "e");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
private Iterable<String> components; @BeforeExperiment void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component); components = Arrays.asList(raw); } /** {@link Joiner} with a string delimiter. */ @Benchmark int joinerWithStringDelimiter(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; import org.apache.maven.artifact.Artifact; /** */ public class ExclusionSetFilter implements ArtifactFilter { private Set<String> excludes; public ExclusionSetFilter(String[] excludes) { this.excludes = new LinkedHashSet<>(Arrays.asList(excludes)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0)