Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createContext (0.08 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

            super(protoLookup);
        }
    
        @Override
        protected int execute(LocalContext context) throws Exception {
            return doExecute(context);
        }
    
        @Override
        protected LocalContext createContext(EncryptInvokerRequest invokerRequest) {
            return new LocalContext(this, invokerRequest);
        }
    
        @Override
        protected void lookup(LocalContext context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java

                super(invoker, invokerRequest);
            }
        }
    
        public DefaultLocalMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return new LocalContext(this, invokerRequest);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return residentContext
                    .computeIfAbsent(getContextId(invokerRequest), k -> new LocalContext(this, invokerRequest))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            requireNonNull(invokerRequest);
    
            Properties oldProps = (Properties) System.getProperties().clone();
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            try (C context = createContext(invokerRequest)) {
                try {
                    if (context.currentThreadContextClassLoader != null) {
                        Thread.currentThread().setContextClassLoader(context.currentThreadContextClassLoader);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

    // TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and
    // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same
    // C++ function.
    // Retries are used for CreateContext calls, which is used in
    // ParameterServerStrategy initialization to be robust to worker preemption.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeoutAndRetries(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top