Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 782 for context_b (0.05 sec)

  1. internal/grid/handlers.go

    	return val
    }
    
    func setCaller(ctx context.Context, cl *RemoteClient) context.Context {
    	//nolint:staticcheck // SA1029 Staticcheck is drunk.
    	return context.WithValue(ctx, ctxCallerKey{}, cl)
    }
    
    func setSubroute(ctx context.Context, s string) context.Context {
    	//nolint:staticcheck // SA1029 Staticcheck is drunk.
    	return context.WithValue(ctx, ctxSubrouteKey{}, s)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Negotiate context offset (0 for non-3.1.1)
            SMBUtil.writeInt4(0, buffer, 60);
    
            return buffer;
        }
    
        /**
         * Creates a larger buffer suitable for testing negotiate contexts.
         */
        private byte[] createLargeBufferForContexts() {
            byte[] buffer = new byte[1024]; // Large enough for contexts
    
            // Copy basic structure
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                NegotiateContextResponse[] contexts =
                        new NegotiateContextResponse[] { new PreauthIntegrityNegotiateContext(), new EncryptionNegotiateContext() };
    
                // Act & Assert
                for (NegotiateContextResponse context : contexts) {
                    assertNotNull(context);
                    assertTrue(context.getContextType() > 0);
                }
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                context = SingletonContext.getInstance().withCredentials(auth);
            } catch (Exception e) {
                log.warn("Failed to create authenticated context, trying guest access", e);
                context = SingletonContext.getInstance();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         *
         * @return the clientGuid
         */
        public byte[] getClientGuid() {
            return this.clientGuid;
        }
    
        /**
         * Gets the negotiate contexts for SMB 3.1.1 negotiation.
         *
         * @return the negotiateContexts
         */
        public NegotiateContextRequest[] getNegotiateContexts() {
            return this.negotiateContexts;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Best practice is to set conventions in a plugin (2). This keeps the underlying object "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be.  In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling...
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/logging.go

    }
    
    func rebalanceLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "rebalance", err, errKind...)
    }
    
    func rebalanceLogEvent(ctx context.Context, msg string, args ...any) {
    	logger.Event(ctx, "rebalance", msg, args...)
    }
    
    func adminLogIf(ctx context.Context, err error, errKind ...any) {
    	logger.LogIf(ctx, "admin", err, errKind...)
    }
    
    func authNLogIf(ctx context.Context, err error, errKind ...any) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            UpgradeContext context = TestUtils.createMockContext(Paths.get("/test"));
    
            // Test indentation methods don't throw exceptions
            context.indent();
            context.indent();
            context.info("Indented message");
    
            context.unindent();
            context.unindent();
            context.unindent(); // Should not go below 0
            context.info("Unindented message");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Test constructor when signing is enabled
            NtlmContext context = new NtlmContext(mockAuth, true);
            assertNotNull(context);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
            assertNull(context.getSigningKey());
            assertNull(context.getNetbiosName());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * build a smaller set of projects but perform other operations in the context of your reactor.
         */
        private List<MavenProject> allProjects;
    
        private MavenProject topLevelProject;
    
        private ProjectDependencyGraph projectDependencyGraph;
    
        private boolean parallel;
    
        /**
         * Plugin context keyed by project ({@link MavenProject#getId()}) and by plugin lookup key
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top