Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,782 for scratch (0.05 seconds)

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

      static {
        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

          getMap().replace(k0(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. buildscripts/test-timeout.sh

    	exit 1
    fi
    
    trap 'catch $LINENO' ERR
    
    function purge() {
    	rm -rf "$1"
    }
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio || true
    	pkill -9 minio || true
    	purge "$WORK_DIR"
    	if [ $# -ne 0 ]; then
    		exit $#
    	fi
    }
    
    catch
    
    function gen_put_request() {
    	hdr_sleep=$1
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                }
            } catch (IOException e) {
                throw new UncheckedIOException("Error reading test suite output", e);
            } finally {
                reproductionLines.remove(descriptor);
                EventWriter writer = eventWriters.remove(descriptor);
                if (writer != null) {
                    try {
                        writer.close();
                    } catch (IOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/transport/Transport.java

            } catch (final IOException ioe) {
                log.warn("sendrecv failed", ioe);
                try {
                    disconnect(true);
                } catch (final IOException ioe2) {
                    ioe.addSuppressed(ioe2);
                    log.info("disconnect failed", ioe2);
                }
                throw ioe;
            } catch (final InterruptedException ie) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    }
                    throw new CommandExecutionException("The command execution is timeout for user: " + username);
                }
                return exitValue;
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final InterruptedException e) {
                if (mt != null && mt.isTeminated()) {
                    if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

            facade.get();
            r++;
          } catch (CancellationException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, SECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

            
            while (!rdmaConnection.canSend() && System.currentTimeMillis() < deadline) {
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Internal.java

       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            Hexdump.hexdump(log, rcv_buf, 0, in.getLength());
                        }
    
                        response.notify();
                    }
                }
            } catch (final SocketTimeoutException ste) {} catch (final Exception ex) {
                if (LogStream.level > 2) {
                    ex.printStackTrace(log);
                }
            } finally {
                tryClose();
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top