Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 3,790 for news (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
              completed = true;
            }
          };
    
      private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER =
          new UncaughtExceptionHandler() {
            @Override
            public void uncaughtException(Thread t, Throwable e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      public void testListenersNotifiedOnError() throws Exception {
        CountDownLatch successLatch = new CountDownLatch(1);
        CountDownLatch listenerLatch = new CountDownLatch(1);
    
        ExecutorService exec = Executors.newCachedThreadPool();
    
        future.addListener(listenerLatch::countDown, exec);
    
        new Thread(
                () -> {
                  assertThrows(CancellationException.class, future::get);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. cmd/warm-backend-s3.go

    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	// Credentials initialization
    	var creds *credentials.Credentials
    	switch {
    	case conf.AWSRole:
    		creds = credentials.New(&credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      static final RuntimeException RUNTIME_EXCEPTION = new RuntimeException();
      static final OtherThrowable OTHER_THROWABLE = new OtherThrowable();
      static final Future<String> FAILED_FUTURE_OTHER_THROWABLE =
          immediateFailedFuture(OTHER_THROWABLE);
      static final Error ERROR = new Error("mymessage");
      static final Future<String> FAILED_FUTURE_ERROR = immediateFailedFuture(ERROR);
      static final Future<String> RUNTIME_EXCEPTION_FUTURE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

        protected int getDefaultPort() {
            return DEFAULT_HTTP_PORT;
        }
    
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(),
                    getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection)
                    url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(String protocol)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            }
            TypeMetaData rawType = new TypeMetaData(name);
            rawType.arrayDimensions = arrayDimensions;
            if (varargs) {
                rawType.arrayDimensions++;
            }
            return rawType;
        }
    
        public String getSignature() {
            final StringBuilder builder = new StringBuilder();
    
            visitSignature(new SignatureVisitor() {
                @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ClassIterator.java

        }
    
        @Override
        public Class<?> next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final Class<?> result = clazz;
            clazz = clazz.getSuperclass();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        /**
         * The NTLMSSP "preamble".
         */
        protected static final byte[] NTLMSSP_SIGNATURE = new byte[] {
            (byte) 'N', (byte) 'T', (byte) 'L', (byte) 'M', (byte) 'S', (byte) 'S', (byte) 'P', (byte) 0
        };
    
        /**
         * NTLM version
         */
        protected static final byte[] NTLMSSP_VERSION = new byte[] {
            6, 1, 0, 0, 0, 0, 0, 15
        };
    
        protected static final int NTLMSSP_TYPE1 = 0x1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

     */
    public abstract class LayeredOptions<O extends Options> implements Options {
        protected final List<O> options;
    
        protected LayeredOptions(List<O> options) {
            this.options = new ArrayList<>(options);
        }
    
        @Override
        public Optional<Map<String, String>> userProperties() {
            return collectMapIfPresentOrEmpty(Options::userProperties);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @return The user-friendly source hint, never {@code null}.
         */
        static String toSourceHint(Model model) {
            if (model == null) {
                return "";
            }
    
            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append(toId(model));
    
            Path pomPath = model.getPomPath();
            if (pomPath != null) {
                buffer.append(" (").append(pomPath).append(')');
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top