Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1651 - 1660 of 1,808 for try (0.04 sec)

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

        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
            return events.toString();
          } finally {
            events.clear();
          }
        }
    
        @Override
        public String toString() {
          return events.toString();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
            return events.toString();
          } finally {
            events.clear();
          }
        }
    
        @Override
        public String toString() {
          return events.toString();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            for (int i = 0; i < threadCount; i++) {
                final int threadIndex = i;
                threads[i] = new Thread(new Runnable() {
                    @Override
                    public void run() {
                        try {
                            for (int j = 0; j < matchesPerThread; j++) {
                                ResponseData responseData = new ResponseData();
                                if (threadIndex % 2 == 0) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertDoesNotThrow(() -> mockReferralData.append(null));
    
                // Test with concrete implementation - behavior depends on implementation
                // May throw NullPointerException
                try {
                    concreteImplementation.append(null);
                } catch (NullPointerException e) {
                    // Expected for some implementations
                }
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // yet hold a complete token, for instance if it has no newline while
    // scanning lines, a [SplitFunc] can return (0, nil, nil) to signal the
    // [Scanner] to read more data into the slice and try again with a
    // longer slice starting at the same point in the input.
    //
    // The function is never called with an empty data slice unless atEOF
    // is true. If atEOF is true, however, data may be non-empty and,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse())
        client =
          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  chain.proceed(chain.request())
                  throw AssertionError()
                } catch (expected: IOException) {
                  chain.proceed(chain.request())
                }
              },
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      public void testSubList_endTooLarge() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().subList(0, getNumElements() + 1));
      }
    
      public void testSubList_startGreaterThanEnd() {
        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. helm-releases/minio-2.0.1.tgz

    else echo "Bucket '$BUCKET' versioning unchanged." fi # At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} policy set $POLICY myminio/$BUCKET } # Try connecting to Minio instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} # Create the buckets {{- range .Values.buckets }} createBucket {{ .name }} {{ .policy }} {{ .purge...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 31 09:09:09 UTC 2021
    - 13.6K bytes
    - Viewed (0)
Back to top