Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,593 for scratch (0.06 seconds)

  1. android/guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	if [ $# -ne 0 ]; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    request.path = '\\' + session.transport().tconHostName + '\\' + share + request.path;
                }
                try {
                    session.send(request, response);
                } catch (final SmbException se) {
                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /* Someone removed the share while we were
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            MavenExecutionResult result;
    
            try {
                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
            } catch (RuntimeException e) {
                // TODO Hack to make the cycle detection the same for the new graph builder
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        /**
         * Encode the JSP content.
         * @param value The value.
         * @return The encoded value.
         */
        public static String encodeJsp(final String value) {
            return value.replace("<% try{ %>", TRY_STATEMENT)
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                        }
                    } catch (Exception e) {
                        log.error("Failed to load handle file: " + handleFile, e);
                        try {
                            Files.deleteIfExists(handleFile);
                        } catch (IOException deleteEx) {
                            log.error("Failed to delete corrupted handle file: " + handleFile, deleteEx);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                    scheduleRecoveryWithTransport(failedChannel, state, testTransport);
                } else {
                    // Remove channel after max retries
                    removeChannel(failedChannel);
                }
            } catch (Exception e) {
                // Recovery not possible, remove synchronously
                removeChannel(failedChannel);
                return;
            }
        }
    
        /**
         * Shutdown the failover handler
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            successCount.incrementAndGet();
    
                            // Small delay to increase chance of race conditions
                            Thread.yield();
                        }
                    } catch (Exception e) {
                        exceptions.add(e);
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
            // Start all threads simultaneously
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
                exitCode = 0;
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("ThumbnailGenerator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top