Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 2,371 for Try (0.02 seconds)

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

              @Override
              @Nullable Void runInterruptibly() throws Exception {
                slowChannel.doBegin();
                isInterruptibleRegistered.countDown();
                try {
                  new CountDownLatch(1).await(); // the interrupt will wake us up
                } catch (InterruptedException ie) {
                  // continue
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              @Override
              @Nullable Void runInterruptibly() throws Exception {
                slowChannel.doBegin();
                isInterruptibleRegistered.countDown();
                try {
                  new CountDownLatch(1).await(); // the interrupt will wake us up
                } catch (InterruptedException ie) {
                  // continue
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(project.getClassRealm());
                this.packaging = session.requirePackaging(project.getPackaging());
            } finally {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

          this.listenerExecutor = checkNotNull(listenerExecutor);
        }
    
        @Override
        final boolean isDone() {
          return CombinedFuture.this.isDone();
        }
    
        final void execute() {
          try {
            listenerExecutor.execute(this);
          } catch (RejectedExecutionException e) {
            CombinedFuture.this.setException(e);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
    
        private void connect() throws IOException {
            final byte[] buffer = new byte[BUFFER_SIZE];
            int type;
            InputStream in;
    
            try {
                in = super.getInputStream();
                final OutputStream out = super.getOutputStream();
    
                final SessionServicePacket ssp0 = new SessionRequestPacket(calledName, NbtAddress.localhost.hostName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

             */
            public void reset() {
                Arrays.stream(BuildParams.class.getDeclaredFields()).filter(f -> Modifier.isStatic(f.getModifiers())).forEach(f -> {
                    try {
                        // Since we are mutating private static fields from a public static inner class we need to suppress
                        // accessibility controls here.
                        f.setAccessible(true);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestQueryBuilder.java

         * @param q The query string.
         * @param fields The fields to search in.
         * @return The QueryBuilder instance.
         */
        public QueryBuilder buildQuery(final String q, final List<String> fields) {
            try {
                final QueryBuilder queryBuilder;
                if (Strings.isNullOrEmpty(q)) {
                    queryBuilder = QueryBuilders.matchAllQuery();
                } else {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java

            return WebAuthenticationDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends WebAuthentication> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAuthRealm(DfTypeUtil.toString(source.get("authRealm")));
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

              executionList.execute();
              return;
            }
    
            // TODO(lukes): handle RejectedExecutionException
            adapterExecutor.execute(
                () -> {
                  try {
                    /*
                     * Threads from our private pool are never interrupted. Threads from a
                     * user-supplied executor might be, but... what can we do? This is another reason
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        void testConstructor() {
            // Verify that the response is created with correct configuration and buffer
            assertNotNull(response);
    
            // Use reflection to verify the outputBuffer is set correctly
            try {
                Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer");
                outputBufferField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top