- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,291 for results2 (0.05 seconds)
-
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
.setBody(fileToBytes(file)) .addHeader("content-type: " + contentType(path)); } private Buffer fileToBytes(File file) throws IOException { Buffer result = new Buffer(); result.writeAll(Okio.source(file)); return result; } private String contentType(String path) { if (path.endsWith(".png")) return "image/png"; if (path.endsWith(".jpg")) return "image/jpeg";
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jan 02 02:50:44 GMT 2019 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { return 0; } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
.withSetUp(setUpRunnable) .withTearDown(tearDownRunnable) .createTestSuite(); TestResult result = new TestResult(); int timesMyTesterWasRunBeforeSuite = MyTester.timesTestClassWasRun; test.run(result); assertEquals(timesMyTesterWasRunBeforeSuite + 1, MyTester.timesTestClassWasRun); assertTrue(setUp[0]); assertTrue(tearDown[0]); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2.3K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
toDer(writer, v) } } override fun decode(reader: DerReader): List<T> { val result = mutableListOf<T>() while (reader.hasNext()) { result += fromDer(reader) } return result } } return BasicDerAdapter(name, tagClass, tag, codec) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java
public static <K, V> SortedMapTestSuiteBuilder<K, V> using( TestSortedMapGenerator<K, V> generator) { SortedMapTestSuiteBuilder<K, V> result = new SortedMapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java
eventCatapult.fire(ExecutionEvent.Type.SessionStarted, session, null); ReactorContext reactorContext = null; ProjectBuildList projectBuilds = null; MavenExecutionResult result = session.getResult(); try { if (buildExecutionRequiresProject(session) && projectIsNotPresent(session)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java
public static <K, V> ListMultimapTestSuiteBuilder<K, V> using( TestListMultimapGenerator<K, V> generator) { ListMultimapTestSuiteBuilder<K, V> result = new ListMultimapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Textual constructor with hex identifier authority") void testTextualConstructorHexAuthority() throws Exception { // Arrange: 0x5 == decimal 5 results in decimal authority in toString SID sid = new SID("S-1-0x000000000005-21-99"); // Act String s = sid.toString(); // Assert assertEquals("S-1-5-21-99", s);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements; boolean isSubset = (result instanceof RegularImmutableSortedSet) && ((RegularImmutableSortedSet) result).isSubset; if (!isSubset) { // Only return the original copy if this immutable sorted set isn't // a subset of another, to avoid memory leak. return result; } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0)