- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 407 for Logic (0.48 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.provider.ValueSource; 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 { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
* Tests a filter that uses directory path information. */ @Test @DisplayName("filter can use SmbFile directory for decision logic") void filterCanUseSmbFileForDecision() throws Exception { // Stub the getPath method to return a specific value when(mockDir.getPath()).thenReturn("/share/folder/");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
PLUGINS_PORTAL_URL_OVERRIDE, "-DenablePredictiveTestSelection=false", "%additional.gradle.parameters%", ).joinToString(" ") /** * Align with build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java */ enum class KillProcessMode { KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, KILL_PROCESSES_STARTED_BY_GRADLE,Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 07:15:16 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StopwordsPager.java
import java.io.Serializable; import java.util.List; import org.codelibs.fess.util.ComponentUtil; /** * Pager for managing stopwords pagination. * This class handles the state and logic for paginating through a list of stopwords, * including total record count, page size, and current page number. */ public class StopwordsPager implements Serializable { /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated methodRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 5.7K bytes - Viewed (0) -
fastapi/security/oauth2.py
data["client_secret"] = form_data.client_secret return data ``` Note that for OAuth2 the scope `items:read` is a single scope in an opaque string. You could have custom internal logic to separate it by colon characters (`:`) or similar, and get the two parts `items` and `read`. Many applications do that to group and organize permissions, you could do it as well in your application, just
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 22K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
* Returns a list of core extensions from all sources, that were discovered and loaded. Each instance of * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires * some logic to sort out (like precedence). * <p> * The list of {@link CoreExtensions} if present, is in precedence order. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 6.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
import static java.util.Objects.requireNonNull; /** * A {@link TransferListener} implementation that wraps another delegate {@link TransferListener} but makes it run * on single thread, keeping the listener logic simple. This listener also blocks on last transfer event to allow * output to perform possible cleanup. It spawns a daemon thread to consume queued events that may fall in even * concurrently. * * @since 4.0.0 */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
} /** * Fetch a private field value via reflection. This helper keeps the * test code tidy and is used where unit‑testing logic relies on * internally stored data. */ private static Object getPrivateField(Object target, String name) { try { java.lang.reflect.Field f = target.getClass().getDeclaredField(name);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
/** * Determines whether the current request is authorized to access the API endpoint. * This default implementation returns false, requiring subclasses to override * and implement proper access control logic. * * @return true if access is allowed, false otherwise */ protected boolean isAccessAllowed() { return false; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0)