- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 662 for logic (0.08 sec)
-
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
*/ @Resource protected HttpServletRequest request; /** * Returns an empty OptionalThing for login manager since API actions * use token-based authentication instead of traditional session-based login. * * @return empty OptionalThing indicating no login manager is used */ @Override protected OptionalThing<LoginManager> myLoginManager() { return OptionalThing.empty();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
fastapi/security/oauth2.py
```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordRequestForm app = FastAPI() @app.post("/login") def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]): data = {} data["scopes"] = [] for scope in form_data.scopes: data["scopes"].append(scope)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 22K bytes - Viewed (0) -
cmd/bitrot-whole.go
"io" ) // Implementation to calculate bitrot for the whole file. type wholeBitrotWriter struct { disk StorageAPI volume string filePath string shardSize int64 // This is the shard size of the erasure logic hash.Hash // For bitrot hash } func (b *wholeBitrotWriter) Write(p []byte) (int, error) { err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p) if err != nil { return 0, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents a * {@code SmbTransport} collaborator and is used only forRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all * exercised by [TaskRunnerTest]. * * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the * busiest of CI servers. */ @Tag("Slowish")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* Executes the behavior defined by this {@code Mojo}. This method is invoked * during the Maven build lifecycle to perform the Mojo's designated task. * * <p>Implementations should handle any task-specific logic and may communicate * errors by throwing an {@link Exception}. Error conditions should provide * sufficient detail to aid troubleshooting.</p> *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:21:00 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
} if actualErrCode == ErrNone { validateCredentialfields(t, i+1, testCase.expectedCredentials, actualCredential) } } } // TestParseSignature - validates the logic for extracting the signature string. func TestParseSignature(t *testing.T) { testCases := []struct { inputSignElement string expectedSignStr string expectedErrCode APIErrorCode }{ // Test case - 1.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:35 UTC 2025 - 27.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
* {@code ruleId} and {@code responseProcessor}. * </p> * * <p> * Subclasses should extend this class and implement the abstract methods * defined in the {@link Rule} interface to provide specific rule logic. * </p> * */ public abstract class AbstractRule implements Rule { private static final long serialVersionUID = 1L; /** The rule ID. */ protected String ruleId;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
private static final String DESCR = "WrLeh\u0000B13BWz\u0000"; NetShareEnum() { command = SMB_COM_TRANSACTION; subCommand = NET_SHARE_ENUM; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; // maxDataCount = 4096; why was this set? maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/math/ToDoubleRounder.java
return roundFloorAsDouble; } else if (diff > 0) { // closer to ceiling return roundCeilingAsDouble; } // halfway between the representable values; do the half-whatever logic switch (mode) { case HALF_EVEN: // roundFloorAsDouble and roundCeilingAsDouble are neighbors, so precisely // one of them should have an even long representationRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.8K bytes - Viewed (0)