- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,521 for trying (0.04 sec)
-
guava/src/com/google/common/base/NullnessCasts.java
* (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
// Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null); // getRemoteUser() will throw NPE when trying to call getName() on null principal assertThrows(NullPointerException.class, () -> request.getRemoteUser()); assertNull(request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
this.a = "x"; this.b = b; } // keep trying @Keep static GoodEquals create(int a, int b) { throw new RuntimeException(); } // Good! static GoodEquals create(String a, int b) { return new GoodEquals(a, b); } // keep trying @Keep public static @Nullable GoodEquals createMayReturnNull(int a, int b) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
* @param size the desired length of the resulting hex string (will be left-padded with zeros) * @return a hexadecimal string representation of the value, padded to the specified size */ public static String toHexString(final int val, final int size) { final char[] c = new char[size]; toHexChars(val, c, 0, size); return new String(c); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
* 3 - disconnecting */ int connectionState; int tid; String share; String service = "?????"; String service0; SmbSession session; boolean inDfs, inDomainDfs; int tree_num; // used by SmbFile.isOpen SmbTree(final SmbSession session, final String share, final String service) { this.session = session; this.share = share.toUpperCase();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
public class ContentNotFoundExceptionTest extends UnitFessTestCase { public void test_constructor_withValidUrls() { // Test with normal URLs String parentUrl = "http://example.com/parent"; String url = "http://example.com/child"; ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
# Return some error ... ``` But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks". ### Timing Attacks { #timing-attacks } But what's a "timing attack"? Let's imagine some attackers are trying to guess the username and password. And they send a request with a username `johndoe` and a password `love123`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
CIFSException last = null; final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null; final String savedPath = rpath != null ? rpath.getPath() : null; final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null; final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath(); final int maxRetries = this.ctx.getConfig().getMaxRequestRetries();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
docs/en/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *} ## Recap { #recap } With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}. And you can also declare numeric validations: * `gt`: `g`reater `t`han * `ge`: `g`reater than or `e`qual
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
class Local<T> {} TypeToken<Local<String>> type = new TypeToken<Local<String>>() {}; assertEquals(Types.newParameterizedType(Local.class, String.class), type.getType()); assertEquals(new Local<String>() {}.getClass().getGenericSuperclass(), type.getType()); } public void testGenericArrayType() { TypeToken<List<String>[]> token = new TypeToken<List<String>[]>() {};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)