Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1101 - 1110 of 1,911 for Try (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

       */
      @GuardedBy("lock")
      private int runningTasks = 0;
    
      @GuardedBy("lock")
      private boolean shutdown = false;
    
      @Override
      public void execute(Runnable command) {
        startTask();
        try {
          command.run();
        } finally {
          endTask();
        }
      }
    
      @Override
      public boolean isShutdown() {
        synchronized (lock) {
          return shutdown;
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. android-test/src/androidDeviceTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .hostnameVerifier { hostname, session ->
              val s = "hostname: $hostname peerHost:${session.peerHost}"
              Log.d("SniOverrideTest", s)
              try {
                val cert = session.peerCertificates[0] as X509Certificate
                for (name in cert.subjectAlternativeNames) {
                  if (name[0] as Int == 2) {
                    Log.d("SniOverrideTest", "cert: " + name[1])
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    enc = getFessConfig().getCrawlerDocumentSiteEncoding();
                } else {
                    enc = encoding;
                }
    
                try {
                    url = URLDecoder.decode(url, enc);
                } catch (final Exception e) {
                    // Failed to decode URL, using original URL as-is
                    if (getLogger().isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Set info to SmbInfoAllocation
            SmbInfoAllocation allocation = new SmbInfoAllocation();
            setInfoField(response, allocation);
    
            // Try to get as FileFsSizeInformation (incompatible)
            assertThrows(CIFSException.class, () -> {
                response.getInfo(FileFsSizeInformation.class);
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    For example, you might want to try:
    
    * [Speakeasy](https://speakeasy.com/editor?utm_source=fastapi+repo&utm_medium=github+sponsorship)
    * [Stainless](https://www.stainless.com/?utm_source=fastapi&utm_medium=referral)
    * [liblab](https://developers.liblab.com/tutorials/sdk-for-fastapi?utm_source=fastapi)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

            // Docker is unavailable when it should be.
            final Path osRelease = Paths.get("/etc/os-release");
    
            if (Files.exists(osRelease)) {
                Map<String, String> values;
    
                try {
                    final List<String> osReleaseLines = Files.readAllLines(osRelease);
                    values = parseOsRelease(osReleaseLines);
                } catch (IOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

              iterator.next();
            });
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemoveIf_unsupportedEmptyCollection() {
        try {
          assertFalse(
              "removeIf(Predicate) should return false or throw UnsupportedOperationException",
              collection.removeIf(
                  x -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            this.projectLayout = projectLayout;
            setDescription("Checks java source files for correct file permissions");
        }
    
        private static boolean isExecutableFile(File file) {
            try {
                Set<PosixFilePermission> permissions = Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes()
                    .permissions();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  9. helm/minio/templates/_helper_create_svcacct.txt

        fi
      else
        echo "Svcacct '$SVCACCT' already exists."
      fi
      #clean up credentials files.
      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.svcaccts }}
    {{ $global := . }}
    # Create the svcaccts
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          assertTrue(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          runCalled = true;
          assertEquals(State.RUNNING, state());
    
          enterRun.countDown();
          try {
            exitRun.await();
          } catch (InterruptedException e) {
            throw new RuntimeException(e);
          }
        }
    
        @Override
        protected void shutDown() {
          assertTrue(startUpCalled);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
Back to Top