- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for isAllow (0.15 seconds)
-
src/test/java/jcifs/ACETest.java
@DisplayName("Should define isAllow method returning boolean") void shouldDefineIsAllow() { ACE allowAce = mock(ACE.class); ACE denyAce = mock(ACE.class); when(allowAce.isAllow()).thenReturn(true); when(denyAce.isAllow()).thenReturn(false); assertTrue(allowAce.isAllow()); assertFalse(denyAce.isAllow()); verify(allowAce).isAllow();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[19] = 0x00; // Test decode int size = ace.decode(testBuffer, 0, testBuffer.length); // Verify results assertEquals(32, size); assertTrue(ace.isAllow()); assertEquals(0x03, ace.getFlags()); assertEquals(0x001200A9, ace.getAccessMask()); assertNotNull(ace.getSID()); } @Test @DisplayName("Test decode with deny ACE")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
*/ protected void initDisallowCompound(final String prop) { if (prop == null) { return; } final Set<String> disallow = new HashSet<>(); final StringTokenizer st = new StringTokenizer(prop, ","); while (st.hasMoreTokens()) { disallow.add(st.nextToken().trim()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
// Check protocol versions assertNotNull(testConfig.getMinimumVersion()); assertNotNull(testConfig.getMaximumVersion()); // Check disallow compound assertNotNull(testConfig.disallowCompound); assertTrue(testConfig.disallowCompound.contains("Smb2SessionSetupRequest")); assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostAndPort.java
* * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]". * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and * disallow IPv6 literals that don't contain these brackets. * * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/* * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain * parts other than the last may begin with a digit (for example, "3com.com"). It's important to * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric * address like 127.0.0.1 from looking like a valid domain name. */ if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
// contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0)