- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 3,763 for Int (0.01 sec)
-
guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
*/ public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() { Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers()); powerSet = Sets.powerSet(set); } @Benchmark int iteration(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (Set<Integer> subset : powerSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
*/ public static List<AvPair> decode ( byte[] data ) throws CIFSException { List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while ( pos + 4 <= data.length ) { int avId = SMBUtil.readInt2(data, pos); int avLen = SMBUtil.readInt2(data, pos + 2); pos += 4; if ( avId == AvPair.MsvAvEOL ) { if ( avLen != 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
return absl::OkStatus(); } absl::Status SetAttrShapeList(const char* attr_name, const int64_t** dims, const int* num_dims, int num_values) override { std::vector<PartialTensorShape> shapes; shapes.reserve(num_values); for (int i = 0; i < num_values; ++i) { if (num_dims[i] < 0) { shapes.emplace_back(); } else { shapes.emplace_back(ArraySlice<int64_t>(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
func (w *nullResponseWriter) Header() http.Header { return nil } func (w *nullResponseWriter) Write(p []byte) (int, error) { return len(p), nil } func (w *nullResponseWriter) WriteHeader(statusCode int) { } func (w *nullResponseWriter) Flush() { } func benchmarkSelect(b *testing.B, count int, query string) { requestXML := []byte(` <?xml version="1.0" encoding="UTF-8"?> <SelectObjectContentRequest>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
public class TestLocking implements Runnable { int numThreads = 1; int numIter = 1; long delay = 100; String url = null; int numComplete = 0; long ltime = 0L; public void run() { try { SmbFile f = new SmbFile(url); SmbFile d = new SmbFile(f.getParent()); byte[] buf = new byte[1024]; for (int ii = 0; ii < numIter; ii++) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java
/** */ abstract class AbstractVersionTest { protected static final int X_LT_Y = -1; protected static final int X_EQ_Y = 0; protected static final int X_GT_Y = 1; protected abstract Version newVersion(String version); protected void assertOrder(int expected, String version1, String version2) { Version v1 = newVersion(version1);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
this.type = SESSION_RETARGET_RESPONSE; this.length = 6; } @Override int writeTrailerWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
} @Override public Entry<K, V>[] createArray(int length) { return generator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/CrudMode.java
*/ package org.codelibs.fess.app.web; public class CrudMode { public static final int LIST = 0; public static final int CREATE = 1; public static final int EDIT = 2; public static final int DELETE = 3; public static final int DETAILS = 4; protected CrudMode() { // nothing }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 937 bytes - Viewed (0)