- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 1,160 for Take (0.02 sec)
-
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
Builder(ValueGraphBuilder<N, V> graphBuilder) { // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to // modify this builder, so we make a copy instead. this.mutableValueGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build(); } /** * Adds {@code node} if it is not already present. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
*/ @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android. public void testExhaustive() throws Exception { Random random = new Random(0); // will iteratively make more debuggable, each time it breaks for (int totalInsertions = 0; totalInsertions < 200; totalInsertions++) { List<Sink> sinks = new ArrayList<>(); for (int chunkSize = 4; chunkSize <= 32; chunkSize++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } // Set structure size to 2 SMBUtil.writeInt2(2, buffer, bufferIndex); // Make a copy of the buffer byte[] bufferCopy = buffer.clone(); // Call readBytesWireFormat response.readBytesWireFormat(buffer, bufferIndex); // Verify buffer wasn't modified
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
assertEquals(testString, readString); } @Test void testStringReadWriteUnicodeWithOddAlignment() throws UnsupportedEncodingException { smb.useUnicode = true; smb.headerStart = 1; // Make the start odd String testString = "Aligned Unicode"; byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment int len = smb.writeString(testString, buffer, 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
// // FIXME: It currently only lists `minio_` prefixed metrics. func (h *metricsV3Server) listMetrics(path string) http.Handler { // First collect all matching MetricsGroup's matchingMG := make(map[collectorPath]*MetricsGroup) for _, collPath := range h.metricsData.collectorPaths { if collPath.isDescendantOf(path) { if v, ok := h.metricsData.mgMap[collPath]; ok { matchingMG[collPath] = v
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.7K bytes - Viewed (0) -
internal/stmt_store/stmt_store.go
// Create a Stmt object and set its Transaction property. // The prepared channel is used to synchronize the statement preparation state. cacheStmt := &Stmt{ Transaction: isTransaction, prepared: make(chan struct{}), } // Cache the Stmt object with the associated key. s.Set(key, cacheStmt) // Unlock after completing initialization to prevent deadlocks. locker.Unlock()Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Apr 27 06:05:16 UTC 2025 - 6K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
NumVersions: 1, SuccessorModTime: time.Time{}, } fi.SetTierFreeVersionID(uuid.New().String()) // Test if free version is created when SkipTier wasn't set on fi j := xlMetaV2Object{} j.MetaSys = make(map[string][]byte) j.MetaSys[metaTierName] = []byte("WARM-1") j.MetaSys[metaTierStatus] = []byte(lifecycle.TransitionComplete) j.MetaSys[metaTierObjName] = []byte("obj-1") if _, ok := j.InitFreeVersion(fi); !ok {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* {@code 0x7F}), and to strings containing such characters. * * <p>ASCII utilities also exist in other classes of this package: * * <ul> * <!-- TODO(kevinb): how can we make this not produce a warning when building gwt javadoc? --> * <li>{@link StandardCharsets#US_ASCII} specifies the {@code Charset} of ASCII characters.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
fr = ®FileReader{r, maker.makeReg.size} fr = &sparseFileReader{fr, sph, 0} default: t.Fatalf("test %d, unknown make operation: %T", i, maker) } for j, tf := range v.tests { switch tf := tf.(type) { case testRead: b := make([]byte, tf.cnt) n, err := fr.Read(b) if got := string(b[:n]); got != tf.wantStr || err != tf.wantErr {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cmd/server-startup-msg.go
// banner. Returns a new list of API endpoints. func stripStandardPorts(apiEndpoints []string, host string) (newAPIEndpoints []string) { if len(apiEndpoints) == 1 { return apiEndpoints } newAPIEndpoints = make([]string, len(apiEndpoints)) // Check all API endpoints for standard ports and strip them. for i, apiEndpoint := range apiEndpoints { _, err := xnet.ParseHTTPURL(apiEndpoint) if err != nil { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.2K bytes - Viewed (0)