- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 4,056 for trying (0.05 sec)
-
android/guava/src/com/google/common/base/Strings.java
public static String nullToEmpty(@Nullable String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly return * @return {@code string} itself if it is nonempty; {@code null} if it is empty or null */ public static @Nullable String emptyToNull(@Nullable String string) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
void testWriteBytesWireFormatWithNullFileId() { Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); byte[] buffer = new byte[256]; // Should throw NullPointerException when trying to copy null array assertThrows(NullPointerException.class, () -> { requestWithNull.writeBytesWireFormat(buffer, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
title %0 @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' @if "%MAVEN_BATCH_ECHO%"=="on" echo %MAVEN_BATCH_ECHO% @REM Clear/define a variable for any options to be inserted via script @REM We want to avoid trying to parse the external MAVEN_OPTS variable SET INTERNAL_MAVEN_OPTS= @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%"=="" goto skipRc
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 24 09:49:07 UTC 2025 - 9.6K bytes - Viewed (3) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
@Mock private ACE mockAce1; @Mock private ACE mockAce2; private MsrpcShareGetInfo msrpcShareGetInfo; private String testServer = "testServer"; private String testSharename = "testShare"; @BeforeEach void setUp() { msrpcShareGetInfo = new MsrpcShareGetInfo(testServer, testSharename); } @Test void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true); String actualPath = (String) pathField.get(req); assertEquals(path, actualPath); } @Test @DisplayName("Should create proper response object") void testCreateResponse() { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
.addEqualityGroup(ImmutableLongArray.of(1, 3)) .addEqualityGroup(ImmutableLongArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
object : X509TrustManager { override fun checkClientTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun checkServerTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf() } client =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Verify fileName is set Field fileNameField = Smb2CloseRequest.class.getDeclaredField("fileName"); fileNameField.setAccessible(true); String storedFileName = (String) fileNameField.get(request); assertEquals(testFileName, storedFileName); } @Test @DisplayName("Constructor with fileId only should use empty fileName")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
} } @Nested @DisplayName("Unicode String Tests") class UnicodeStringTests { @Test @DisplayName("Should encode unicode string with null buffer correctly") void testUnicodeStringEncodeNullBuffer() throws NdrException { // Given: A unicode string with null buffer rpc.unicode_string unicodeString = new rpc.unicode_string();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
--- But if you're curious about this specific code example and you're still entertained, here are some extra details. #### String with `value.startswith()` { #string-with-value-startswith } Did you notice? a string using `value.startswith()` can take a tuple, and it will check each value in the tuple: {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0)