- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 4,666 for int (0.01 seconds)
-
src/bytes/buffer.go
func (b *Buffer) tryGrowByReslice(n int) (int, bool) { if l := len(b.buf); n <= cap(b.buf)-l { b.buf = b.buf[:l+n] return l, true } return 0, false } // grow grows the buffer to guarantee space for n more bytes. // It returns the index where bytes should be written. // If the buffer can't grow it will panic with ErrTooLarge. func (b *Buffer) grow(n int) int { m := b.Len()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/PathMapPager.java
/** Default page size. */ public static final int DEFAULT_PAGE_SIZE = 20; /** Default current page number. */ public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; /** The total number of records. */ private int allRecordCount; /** The total number of pages. */ private int allPageCount; /** Indicates if a previous page exists. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/RolePager.java
*/ public static final int DEFAULT_PAGE_SIZE = 20; /** * Default current page number for pagination. */ public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; /** * Total number of records. */ private int allRecordCount; /** * Total number of pages. */ private int allPageCount; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComBlankResponse.java
super(config); } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
} /** * SMB2 File Action constants */ private static final int FILE_ACTION_ADDED = 0x00000001; private static final int FILE_ACTION_REMOVED = 0x00000002; private static final int FILE_ACTION_MODIFIED = 0x00000003; private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005; /** * SMB2 File Notify Change constantsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
public Object measureSize() { list = impl.newExecutionList(); for (int i = 0; i < numListeners; i++) { list.add(listener, directExecutor()); } return list.getImpl(); } @Benchmark int addThenExecute_singleThreaded(int reps) { int returnValue = 0; for (int i = 0; i < reps; i++) { list = impl.newExecutionList();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
return keyIndex.keySet(); } K getKey(int index) { return keyIndex.keySet().asList().get(index); } abstract String getKeyRole(); @ParametricNullness abstract V getValue(int index); @ParametricNullness abstract V setValue(int index, @ParametricNullness V newValue); @Override public int size() { return keyIndex.size(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java
public class InternersBenchmark { @CanIgnoreReturnValue @Benchmark int weakInterner(int reps) { Interner<String> interner = Interners.newWeakInterner(); for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @CanIgnoreReturnValue @Benchmark int strongInterner(int reps) { Interner<String> interner = Interners.newStrongInterner();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Verify command is set correctly (SMB2_FLUSH = 0x0007) Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(request); assertEquals(0x0007, command); // SMB2_FLUSH value // Verify file ID is set Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertEquals(0, consumed, "readParametersWireFormat should return 0"); } @Test public void testReadDataWireFormat() { // Test that readDataWireFormat returns 0 TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[100]; int consumed = pipe.readDataWireFormat(buffer, 0, 10);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0)