- Sort Score
- Num 10 results
- Language All
Results 981 - 990 of 1,283 for GetPods (0.07 seconds)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
ContentCache cache = new ContentCache(data); response.setContentCache(cache); // ContentCache is not directly accessible, but we can test through content methods assertNotNull(response); } @Test public void testGetContentAsStringWithCache() throws IOException { CurlResponse response = new CurlResponse();
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
import java.util.EnumSet; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for the default implementations of {@code ByteSource} methods. * * @author Colin Decker */ @NullUnmarked public class ByteSourceTest extends IoTestCase { @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertThrows(NullPointerException.class, () -> { response.readDataWireFormat(null, 0, 0); }); } } // Helper methods for creating test buffers private byte[] createValidDfsReferralBuffer() { // Create a buffer representing a valid DFS referral response // Need to include space for actual string data
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
void testTreeConnectResponseInterface() { // Then assertTrue(response instanceof TreeConnectResponse); // Test all interface methods assertNull(response.getService()); // getService returns null in SMB2 assertEquals(response.getTreeId(), response.getTid()); } /** * Helper method to create a valid response buffer
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* behavior, use configuration methods to obtain a <i>new</i> splitter instance with modified * behavior: * * {@snippet : * private static final Splitter MY_SPLITTER = Splitter.on(',').trimResults().omitEmptyStrings(); * } * * <p>Now {@code MY_SPLITTER.split("foo,,, bar ,")} returns just {@code ["foo", "bar"]}. Note that * the order in which these configuration methods are called is never significant. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /** * Test class with valid equals and hashCode methods. Testers created with instances of this class * should always pass. */ private static class ValidTestObject { private final int aspect1; private final int aspect2;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedLists.java
import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.RandomAccess; import org.jspecify.annotations.Nullable; /** * Static methods pertaining to sorted {@link List} instances. * * <p>In this documentation, the terms <i>greatest</i>, <i>greater</i>, <i>least</i>, and * <i>lesser</i> are considered to refer to the comparator on the elements, and the termsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
assertEquals(1024L, mockBasicFileInfo.getSize()); assertEquals(FileInformation.FILE_BASIC_INFO, mockBasicFileInfo.getFileInformationLevel()); // Verify all methods were called verify(mockBasicFileInfo).getAttributes(); verify(mockBasicFileInfo).getCreateTime(); verify(mockBasicFileInfo).getLastWriteTime(); verify(mockBasicFileInfo).getLastAccessTime();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); } // Helper methods to create mock buffers for different file information types private byte[] createMockFileBasicInfoBuffer() { // Create a buffer that represents FileBasicInfo dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
internal/logger/console.go
const ConsoleLoggerTgt = "console+http" // ExitFunc is called by Fatal() class functions, by default it calls os.Exit() var ExitFunc = os.Exit // Logger interface describes the methods that need to be implemented to satisfy the interface requirements. type Logger interface { json(msg string, args ...any) quiet(msg string, args ...any) pretty(msg string, args ...any) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0)