- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 3,040 for sizzle (0.26 seconds)
-
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInfo.size()); // Test with different instance FileEndOfFileInformation info = new FileEndOfFileInformation(999L); assertEquals(8, info.size()); } @Test @DisplayName("Test encode method with valid buffer")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
int numGoodQueries = (int) (numQueries * hitRate + 0.5); // add good queries int size = elementsInSet.size(); if (size > 0) { int minCopiesOfEachGoodQuery = numGoodQueries / size; int extras = numGoodQueries % size; for (int i = 0; i < minCopiesOfEachGoodQuery; i++) { queryList.addAll(elementsInSet); } List<Element> tmp = new ArrayList<>(elementsInSet); shuffle(tmp, random);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3K bytes - Click Count (0) -
cmd/last-minute_gen.go
switch msgp.UnsafeString(field) { case "Total": z.Total, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "Total") return } case "Size": z.Size, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "Size") return } case "N": z.N, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "N") return } default:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** * Simple base class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
*/ package com.google.common.base; import static java.util.concurrent.TimeUnit.NANOSECONDS; import com.google.caliper.Benchmark; import org.jspecify.annotations.NullUnmarked; /** * Simple benchmark: create, start, read. This does not currently report the most useful result * because it's ambiguous to what extent the stopwatch benchmark is being affected by GC. * * @author Kevin Bourrillion */ @NullUnmarked
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0) -
internal/bpool/pool.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package bpool import "sync" // Pool is a single type sync.Pool with a few extra properties: // If New is not set Get may return the zero value of T. type Pool[T any] struct { New func() T p sync.Pool } // Get will retuen a new T func (p *Pool[T]) Get() T {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 1.2K bytes - Click Count (0) -
internal/grid/grid_test.go
remoteConn := local.Connection(remoteHost) remoteConn.WaitForConnect(t.Context()) defer testlogger.T.SetErrorTB(t)() t.Run("localToRemote", func(t *testing.T) { const testPayload = "Hello Grid World!" // Single requests should have remote errors. _, err := remoteConn.Request(t.Context(), handlerTest, []byte(testPayload)) if _, ok := err.(*RemoteErr); !ok { t.Fatalf("Unexpected error: %v, %T", err, err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
} assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); } public void testSum() { AtomicLongMap<Object> map = AtomicLongMap.create(); long sum = 0; for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); sum += i; } assertEquals(ITERATIONS, map.size()); assertEquals(sum, map.sum());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Write structure size (4) at offset SMBUtil.writeInt2(4, buffer, offset); SMBUtil.writeInt2(0, buffer, offset + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesRead); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0)