- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 202 for Ints (0.01 seconds)
-
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping"); } @Test @DisplayName("Each error code mapping contains exactly two ints") void testEachPairLength() { for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) { int[] pair = DosError.DOS_ERROR_CODES[i];
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
} // Happy path: hasCapability returns based on provided capability codes @ParameterizedTest @DisplayName("hasCapability returns expected values for various caps") @ValueSource(ints = { -1, 0, 1, 1024 }) void hasCapability_variousCaps(int cap) throws SmbException { when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int reserved = SMBUtil.readInt2(buffer, 4); assertEquals(0, reserved); } @DisplayName("Test writeParametersWireFormat with different FIDs") @ParameterizedTest @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF }) void testWriteParametersWireFormatWithDifferentFids(int fid) { when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
cmd/admin-server-info.go
PauseEnd: gcStats.PauseEnd, }, MinioEnvVars: make(map[string]string, 10), } for poolNumber := range poolNumbers { props.PoolNumbers = append(props.PoolNumbers, poolNumber) } sort.Ints(props.PoolNumbers) props.PoolNumber = func() int { if len(props.PoolNumbers) == 1 { return props.PoolNumbers[0] } return math.MaxInt // this indicates that its unset. }()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
src/cmd/asm/internal/asm/testdata/mips.s
// This input was created by taking the mips64 testcase and modified // by hand. #include "../../../../../runtime/textflag.h" TEXT foo(SB),DUPOK|NOSPLIT,$0 //inst: // // load ints and bytes // // LMOVW rreg ',' rreg // { // outcode(int($1), &$2, 0, &$4); // } MOVW R1, R2 MOVW LO, R1 MOVW HI, R1 MOVW R1, LO MOVW R1, HI MOVW R1, R2 MOVW LO, R1 MOVW HI, R1
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 08 12:17:12 GMT 2023 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
when(mock.length()).thenReturn(-10L); assertEquals(-10L, mock.length()); } } @ParameterizedTest(name = "getType returns {0}") @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE }) @DisplayName("Parameterized type values") void typeParameterized(int type) { FileEntry mock = mock(FileEntry.class); when(mock.getType()).thenReturn(type);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
void decodesSrvCopyChunkCopyResponse() throws Exception { // Validate createOutputDecodable() mapping and Decodable decode byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3 byte[] out = new byte[12]; SMBUtil.writeInt4(1, out, 0); SMBUtil.writeInt4(2, out, 4); SMBUtil.writeInt4(3, out, 8);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
import com.google.common.collect.Iterators; import com.google.common.collect.Sets; import com.google.common.collect.UnmodifiableIterator; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import java.util.AbstractSet; import java.util.Set; import org.jspecify.annotations.Nullable; /** * This class provides a skeletal implementation of {@link BaseGraph}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.InvalidObjectException; import java.io.ObjectStreamException; import java.io.Serializable; import java.util.ConcurrentModificationException;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
int nameType = mockNetbiosName.getNameType(); // Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 }) @DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0)