- Sort Score
- Num 10 results
- Language All
Results 6131 - 6140 of 7,132 for String (0.14 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); File outputFile = File.createTempFile("generator_", ".png"); String imagePath = "thumbnail/600x400.png"; try (ImageInputStream input = ImageIO.createImageInputStream(classLoader.getResourceAsStream(imagePath))) { generator.saveImage(input, outputFile); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) { * return isSubtype(list); * } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) { * return notSubtype(intList); * } * } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
* useful to call from vanilla JavaScript because it returns an instance of Class, which can't be * converted to a standard JavaScript type. (Contrast to something like String or boolean.) Since * we're not calling it from JavaScript, we suppress the warning. */ @JsMethod @SuppressWarnings("unusable-by-js")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Given int fid = 999; long lastWriteTime = 1672531200000L; // 2023-01-01 00:00:00 UTC SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); // When String result = smbComClose.toString(); // Then assertTrue(result.startsWith("SmbComClose[")); assertTrue(result.contains("fid=" + fid));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertNotEquals(channelInfo, different); } @Test void testToString() { String str = channelInfo.toString(); assertNotNull(str); assertTrue(str.contains("test-channel")); assertTrue(str.contains(ChannelState.DISCONNECTED.toString())); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
fastapi/datastructures.py
@classmethod def __get_pydantic_json_schema__( cls, core_schema: Mapping[str, Any], handler: GetJsonSchemaHandler ) -> dict[str, Any]: return {"type": "string", "contentMediaType": "application/octet-stream"} @classmethod def __get_pydantic_core_schema__( cls, source: type[Any], handler: Callable[[Any], Mapping[str, Any]] ) -> Mapping[str, Any]:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 5.2K bytes - Click Count (0) -
cmd/erasure-decode_test.go
package cmd import ( "bytes" "context" crand "crypto/rand" "io" "math/rand" "testing" "github.com/dustin/go-humanize" ) func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) { return 0, errFaultyDisk } var erasureDecodeTests = []struct { dataBlocks int onDisks, offDisks int
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} i = i == 1 ? 0 : 1; off += read; } if (log.isDebugEnabled()) { log.debug(String.format("Copied a total of %d bytes", off)); } if (dh.isSMB2()) { final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
assertEquals( "the Object#hashCode of " + item + " must be consistent", item.hashCode(), item.hashCode()); if (!(item instanceof String)) { assertTrue( item + " must not be Object#equals to its Object#toString representation", !item.equals(item.toString())); } } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
} catch (InvocationTargetException e) { throw Throwables.propagate(e.getCause()); } assertEquals("Failed to forward to " + method, 1, called.get()); } @Override public String toString() { return "dummy " + interfaceType.getSimpleName(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)