- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 4,704 for Hint (0.07 seconds)
-
android/guava/src/com/google/common/collect/TopKSelector.java
*/ private void trim() { int left = 0; int right = 2 * k - 1; int minThresholdPosition = 0; // The leftmost position at which the greatest of the k lower elements // -- the new value of threshold -- might be found. int iterations = 0; int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3; while (left < right) { int pivotIndex = (left + right + 1) >>> 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
default: throw new CIFSException("Unknown compression algorithm: " + algorithm); } } @Override public int decompress(byte[] compressedData, int offset, int length, byte[] outputBuffer, int outputOffset, int algorithm) throws CIFSException { byte[] decompressed = decompress(compressedData, offset, length, algorithm);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} // Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
} @Benchmark int isMathematicalInteger(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; if (DoubleMath.isMathematicalInteger(doubles[j])) { tmp++; } } return tmp; } @Benchmark int isPowerOfTwo(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
return pipeDataLen; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
macAddress = new byte[6]; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return readResourceRecordWireFormat(src, srcIndex); } @Override int writeRDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile); // Create buffer with offset byte[] buffer = new byte[20]; int offset = 5; int bytesWritten = info.encode(buffer, offset); assertEquals(8, bytesWritten); // Verify encoded value at offset long decodedValue = SMBUtil.readInt8(buffer, offset);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// When int bytesRead = response.readBytesWireFormat(buffer, 0); // Then assertEquals(4, bytesRead); } @DisplayName("Should handle structure with different reserved values") @ParameterizedTest @CsvSource({ "0, 0", "255, 255", "0, 65535", "100, 200" }) void testReadWithDifferentReservedValues(int byte2, int byte3) throws SMBProtocolDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
private CollectSpliterators() {} static <T extends @Nullable Object> Spliterator<T> indexed( int size, int extraCharacteristics, IntFunction<T> function) { return indexed(size, extraCharacteristics, function, null); } static <T extends @Nullable Object> Spliterator<T> indexed( int size, int extraCharacteristics, IntFunction<T> function, @Nullable Comparator<? super T> comparator) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 19.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java
public class ReservedPortRange { private final int startPort; private final int endPort; private final Lock lock = new ReentrantLock(); private PortDetector portDetector = new DefaultPortDetector(); private final List<Integer> allocated = new ArrayList<Integer>(); private Map<String, Integer> allocatedPortsId = new HashMap<>(); private int current; public ReservedPortRange(int startPort, int endPort) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0)