- Sort Score
- Num 10 results
- Language All
Results 3751 - 3760 of 4,666 for inT (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
extends AbstractTableReadTest<C> { protected void populate(Table<String, Integer, C> table, @Nullable Object... data) { checkArgument(data.length % 3 == 0); for (int i = 0; i < data.length; i += 3) { table.put( (String) data[i], (Integer) data[i + 1], nullableCellValue((Character) data[i + 2])); } } protected boolean supportsRemove() { return true;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
super(ForwardingSortedMap.this); } } // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting @SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare( @Nullable Comparator<?> comparator, @Nullable Object o1, @Nullable Object o2) { if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
(byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); byte[] buffer = new byte[20]; key.encode(buffer, 2); for (int i = 0; i < 16; i++) { assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Test multiple selections to ensure it works for (int i = 0; i < 10; i++) { ChannelInfo selected = loadBalancer.selectChannel(mockMessage); assertTrue(Arrays.asList(channel1, channel2).contains(selected)); } } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K 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/org/codelibs/fess/helper/ViewHelperTest.java
int originalSize = highlightInfo.getFragmentSize(); viewHelper.updateHighlightInfo(highlightInfo, 500); Assertions.assertEquals((int) (originalSize * 0.65), highlightInfo.getFragmentSize(), 10); highlightInfo = new HighlightInfo(); viewHelper.updateHighlightInfo(highlightInfo, 300);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
} public void testAddAllPrimitiveIntStream() { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(megaPrimitiveDoubleStreamPart1().mapToInt(x -> (int) x)); accumulator.addAll(megaPrimitiveDoubleStreamPart2().mapToInt(x -> (int) x)); assertThat(accumulator.count()).isEqualTo(MEGA_STREAM_COUNT); assertThat(accumulator.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
w io.Writer } func (d *diskHealthWrapper) Read(p []byte) (int, error) { if d.r == nil { return 0, fmt.Errorf("diskHealthWrapper: Read with no reader") } n, err := d.r.Read(p) if err == nil || err == io.EOF && n > 0 { d.tracker.logSuccess() } return n, err } func (d *diskHealthWrapper) Write(p []byte) (int, error) { if d.w == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
docs/ko/docs/features.md
```Python from datetime import date from pydantic import BaseModel # 변수를 str로 선언합니다 # 그리고 함수 내부에서 편집기 지원을 받습니다 def main(user_id: str): return user_id # Pydantic 모델 class User(BaseModel): id: int name: str joined: date ``` 그 다음 다음과 같이 사용할 수 있습니다: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
List<String> hits = new ArrayList<>(); for (int i = 0; i < hitRate * 256 / 3; ++i) { hits.add(allConstants[0].name()); hits.add(allConstants[allConstants.length / 2].name()); hits.add(allConstants[allConstants.length - 1].name()); } List<String> misses = new ArrayList<>(); for (int i = 0; i < 256 - hits.size(); ++i) { misses.add("INVALID"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 29.4K bytes - Click Count (0)