- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 3,128 for rint (0.04 seconds)
-
android/guava/src/com/google/common/net/HostAndPort.java
* @throws IllegalStateException if no port is defined. You can use {@link #withDefaultPort(int)} * to prevent this from occurring. */ public int getPort() { checkState(hasPort()); return port; } /** Returns the current port number, with a default if no port is defined. */ public int getPortOrDefault(int defaultPort) { return hasPort() ? port : defaultPort; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
nodeStatusRequest = new NodeStatusRequest(mockConfig, realName); byte[] dst = new byte[200]; // Act int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0); int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50); int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100); // Assert assertEquals(result1, result2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
public void reset() throws IOException { // In real implementation, this would reset the DiSNI connection connect(); } @Override public int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException { if (state != RdmaConnectionState.ESTABLISHED) { throw new IOException("Connection not established"); } try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Given byte[] buffer = new byte[512]; int encodeIndex = 0; int decodeIndex = 0; int encodeLength = 100; int decodeLength = 100; when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength); when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength); // When int encoded = messageBlock.encode(buffer, encodeIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
* @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } /** * Sets the lease flags for this request * @param leaseFlags the lease flags to set */ public void setLeaseFlags(int leaseFlags) { this.leaseFlags = leaseFlags; } @Override public int size() { // Context header: 16 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/ACE.java
int FILE_READ_EA = 0x00000008; // 4 /** * Permission to write extended attributes */ int FILE_WRITE_EA = 0x00000010; // 5 /** * Permission to execute a file or traverse a directory */ int FILE_EXECUTE = 0x00000020; // 6 /** * Permission to delete a file or directory */ int FILE_DELETE = 0x00000040; // 7 /** * Permission to read file attributes */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
* such index exists. */ public static int indexOf(float[] array, float target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(float[] array, float target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
for (int i = 0; i < data.length; i++) { data[i] = (byte) (i % 256); } ContentCache cache = new ContentCache(data); try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); byte[] buffer = new byte[data.length]; int totalBytesRead = 0; int bytesRead;
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
} @Override public byte getFileSystemInformationClass() { return informationClass; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { return 0; } } @Nested @DisplayName("Interface Constants Tests") class InterfaceConstantsTests {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
return executor; } @Benchmark int timeUncontendedExecute(int reps) { Executor executor = this.executor; CountingRunnable countingRunnable = this.countingRunnable; for (int i = 0; i < reps; i++) { executor.execute(countingRunnable); } return countingRunnable.integer.get(); } @Benchmark int timeContendedExecute(int reps) { Executor executor = this.executor;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0)