- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 134 for intersection (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/advanced/strict-content-type.md
If your app is in the open internet, you wouldn't "trust the network" and let anyone send privileged requests without authentication. Attackers could simply run a script to send requests to your API, no need for browser interaction, so you are probably already securing any privileged endpoints. In that case **this attack / risk doesn't apply to you**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /** * A small reusable buffer for encode/decode tests. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
docs/fr/docs/advanced/strict-content-type.md
Des attaquants pourraient simplement exécuter un script pour envoyer des requêtes à votre API, sans interaction avec le navigateur ; vous sécurisez donc probablement déjà tout endpoint privilégié. Dans ce cas, cette attaque / ce risque ne vous concerne pas.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertEquals("boom", ex.getMessage(), "Exception message should be preserved"); verifyNoInteractions(mockDir); } /** * Interaction with dependency: implementation can use directory's methods to make decisions. * Tests a filter that uses directory path information. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> { @SuppressWarnings("unused") String s = msgs[msgs.length]; }); } @Test @DisplayName("Interaction: consumer is invoked for each found mapping") void interactionWithConsumerIsAsExpected() { // Arrange: choose a small set of known DOS codes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
assertEquals("server/", root.getName()); } } @Mock DfsReferralData dfs; @Mock Address addr; @Test @DisplayName("Mockito interaction – dependent objects are called appropriately") void testInteractionsWithStubbedDependencies() throws Exception { String url = "smb://server/share/";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
int result = resp.readDataWireFormat(buffer, 0, 50); assertEquals(0, result); assertNull(resp.info); } } @Nested @DisplayName("Mock Interaction Tests") class MockInteractionTests { @Test @DisplayName("Should interact with mock Info interface") void testMockInfoInteraction() { // Create a mock of the Info interface
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
* * Coverage goals: * - Happy path with default and custom options. * - Null/empty/ignored name parameter handling. * - Null options edge case. * - Repeated calls equivalence and instance separation. * - Interaction check that passed options are not mutated. */ @ExtendWith(MockitoExtension.class) class StaticJAASConfigurationTest { // Constants used in assertionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType)); } return passedArgs.toArray(); } /** Tests a single interaction against a method. */ private static final class InteractionTester<T> extends AbstractInvocationHandler { private final Class<T> interfaceType; private final Method method;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
dst[dstIndex] = (byte) (byteCount & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF); dstIndex += byteCount; /* Normally, without intervention everything would batch * with everything else. If the below clause evaluates true * the andx command will not be written and therefore the * response will not read a batched command and therefore
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (0)