Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for CreateContext (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/CredentialsInternalTest.java

        }
    
        @Test
        @DisplayName("createContext returns SSPContext and interacts with CIFSContext")
        void createContext_happy_interacts_and_returns_context() throws Exception {
            // Arrange
            TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
    
            // Act
            SSPContext ctx = creds.createContext(mockContext, "TARGET", "host", new byte[0], true);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false));
            assertTrue(ex.getMessage().contains("Cannot use netbios/short names"));
        }
    
        @Test
        @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws")
        void createContext_noKerberosNoFallback_throws() throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String,
         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        @Override
        protected MavenContext createContext(InvokerRequest invokerRequest) {
            // TODO: in a moment Maven stop pushing user properties to system properties (and maybe something more)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_test.cc

                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
    
      TFE_Context* ctx_0 = CreateContext(serialized_server_def_0,
                                         /*isolate_session_state=*/false,
                                         /*init_timeout_in_ms=*/0);
      TFE_Context* ctx_1 = CreateContext(serialized_server_def_1,
                                         /*isolate_session_state=*/false,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

        public EncryptInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
        }
    
        @Override
        protected EncryptContext createContext(InvokerRequest invokerRequest) {
            return new EncryptContext(
                    invokerRequest, (EncryptOptions) invokerRequest.options().orElse(null));
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

        public UpgradeInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
        }
    
        @Override
        protected UpgradeContext createContext(InvokerRequest invokerRequest) {
            return new UpgradeContext(
                    invokerRequest, (UpgradeOptions) invokerRequest.options().orElse(null));
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    cci = Math.max(cci, createContextStart + nameOffset + nameLength);
    
                    final CreateContextResponse cc = createContext(nameBytes);
                    if (cc != null) {
                        cc.decode(buffer, createContextStart + dataOffset, dataLength);
                        contexts.add(cc);
                    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                                + " (data start: " + ncpos + ", length: " + dataLen + ", buffer size: " + buffer.length + ")");
                    }
    
                    final NegotiateContextResponse ctx = createContext(type);
                    if (ctx != null) {
                        try {
                            ctx.decode(buffer, ncpos, dataLen);
                            contexts[i] = ctx;
                        } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

        public ShellInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
        }
    
        @Override
        protected LookupContext createContext(InvokerRequest invokerRequest) {
            return new LookupContext(invokerRequest, true, invokerRequest.options().orElse(null));
        }
    
        public static final int OK = 0; // OK
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top