- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 4,250 for inst (0.02 seconds)
-
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
} @Test public void test_init() { try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } @Test public void test_load() { int result = labelTypeHelper.load(); assertTrue(result >= 0); } @Test public void test_refresh() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
@CanIgnoreReturnValue @Override public int remove(@Nullable Object element, int occurrences) { if (occurrences == 0) { return count(element); } checkPositive(occurrences, "occurrences"); AtomicInteger existingCounter = safeGet(countMap, element); if (existingCounter == null) { return 0; } while (true) { int oldValue = existingCounter.get();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x56, buffer[2] & 0xFF); assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When Encdec.enc_uint32le(value, buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
utils/utils.go
package utils import ( "database/sql/driver" "fmt" "path/filepath" "reflect" "runtime" "strconv" "strings" "unicode" ) var gormSourceDir string func init() { _, file, _, _ := runtime.Caller(0) // compatible solution to get gorm source directory with various operating systems gormSourceDir = sourceDir(file) } func sourceDir(file string) string {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
// Security information flag constants for testing private static final int OWNER_SECURITY_INFORMATION = 0x00000001; private static final int GROUP_SECURITY_INFORMATION = 0x00000002; private static final int DACL_SECURITY_INFORMATION = 0x00000004; private static final int SACL_SECURITY_INFORMATION = 0x00000008; private static final int ALL_SECURITY_INFORMATION = 0x0000000F; @BeforeEach void setUp() {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/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
public String getCrawlerFileProtocols() { return "file"; } }); final ProtocolHelper protocolHelper = new ProtocolHelper(); protocolHelper.init(); int originalLength = protocolHelper.getWebProtocols().length; protocolHelper.addWebProtocol(""); assertEquals(originalLength + 1, protocolHelper.getWebProtocols().length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 35.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
*/ protected int destroyProcess(final String sessionId, final JobProcess jobProcess) { if (jobProcess != null) { final InputStreamThread ist = jobProcess.getInputStreamThread(); try { ist.interrupt(); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest req2 = new Smb2TreeDisconnectRequest(mockConfig); // Then - all should have same command int cmd1 = (int) commandField.get(req1); int cmd2 = (int) commandField.get(req2); assertEquals(cmd1, cmd2); assertEquals(SMB2_TREE_DISCONNECT, cmd1); } @Test
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-tests/test/com/google/common/hash/MacHashFunctionTest.java
} private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) { assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data)); } private static byte[] fillByteArray(int size, int toFillWith) { byte[] array = new byte[size]; Arrays.fill(array, (byte) toFillWith); return array; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Test with different buffer sizes and indices int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } }; for (int[] config : configs) { byte[] dst = new byte[config[0]]; int dstIndex = config[1]; int result = response.writeBytesWireFormat(dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0)