- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,933 for onText (1.25 sec)
-
src/main/java/jcifs/context/AbstractCIFSContext.java
return this.getDefaultCredentials() != null && !this.getDefaultCredentials().isAnonymous(); } /** * Gets the default credentials for this context. * * @return the default credentials for this context */ protected abstract Credentials getDefaultCredentials(); /** * {@inheritDoc} *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
internal/http/server.go
func (srv *Server) UseTLSConfig(cfg *tls.Config) *Server { srv.TLSConfig = cfg return srv } // UseBaseContext use custom base context for this HTTP *Server func (srv *Server) UseBaseContext(ctx context.Context) *Server { srv.BaseContext = func(listener net.Listener) context.Context { return ctx } return srv } // UseCustomLogger use customized logger for this HTTP *Server
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.5K bytes - Viewed (0) -
internal/crypto/key.go
} if len(extKey) != 32 { // safety check logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length")) } var nonce [32]byte if _, err := io.ReadFull(random, nonce[:]); err != nil { logger.CriticalIf(context.Background(), errOutOfEntropy) } const Context = "object-encryption-key generation" mac := hmac.New(sha256.New, extKey) mac.Write([]byte(Context)) mac.Write(nonce[:]) mac.Sum(key[:0]) return key
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/metrics-v3-api.go
// // This is a `MetricsLoaderFn`. // // This includes node level S3 HTTP metrics. // // This function currently ignores `opts`. func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error { // Collect node level S3 HTTP metrics. httpStats := globalHTTPStats.toServerHTTPStats(false) // Currently we only collect S3 API related stats, so we set the "type"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
verify(mockContext).withDefaultCredentials(); } @Test @DisplayName("Should get context with anonymous credentials") void testWithAnonymousCredentials() { // Given CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withAnonymousCredentials()).thenReturn(newContext); // When CIFSContext context = mockContext.withAnonymousCredentials();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/site-replication-utils.go
} func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics { s := siteResyncMetrics{ resyncStatus: make(map[string]SiteResyncStatus), peerResyncMap: make(map[string]resyncState), } go s.save(ctx) go s.init(ctx) return &s } // init site resync metrics func (sm *siteResyncMetrics) init(ctx context.Context) { r := rand.New(rand.NewSource(time.Now().UnixNano()))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/storage-rest-server.go
if !s.checkID(opts.DiskID) { return nil, grid.NewRemoteErr(errDiskNotFound) } info, err := s.getStorage().DiskInfo(context.Background(), *opts) if err != nil { info.Error = err.Error() } return &info, nil } func (s *storageRESTServer) NSScannerHandler(ctx context.Context, params *nsScannerOptions, out chan<- *nsScannerResp) *grid.RemoteErr { if !s.checkID(params.DiskID) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Arrange doThrow(new SmbException("login failed")).when(tree).connectLogon(context); // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context)); assertEquals("login failed", ex.getMessage()); verify(tree).connectLogon(context); } @Test @DisplayName("send without params returns the stubbed response")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
* * @param context the upgrade context * @param pomMap map of all POM files in the project (domtrip Documents) * @return the result of the upgrade operation */ UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap); /** * Checks if this strategy is applicable given the current options. * * @param context the upgrade contextRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 3.4K bytes - Viewed (0) -
scripts/playwright/query_param_models/image01.py
def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) browser = playwright.chromium.launch(headless=False) context = browser.new_context() page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="GET /items/ Read Items").click()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 1.3K bytes - Viewed (0)