Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,693 for threw (0.04 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                                parentFile.mkdirs()
                                writeBytes(classWriter.toByteArray())
                            }
                        } catch (exception: Exception) {
                            throw ClassAnalysisException("Could not transform class from ${file.toFile()}", exception)
                        }
                    }
                }
            )
        }
    }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

                case HALF_UP:
                  return (x >= 0) ? roundCeilingAsDouble : roundFloorAsDouble;
                default:
                  throw new AssertionError("impossible");
              }
            }
        }
        throw new AssertionError("impossible");
      }
    
      private LongMath() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapMapInterfaceTest.java

      @Override
      protected Map<String, Integer> makeEmptyMap() {
        return ImmutableBiMap.of();
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 16:16:28 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        SecurityManager disallowFilesSecurityManager =
            new SecurityManager() {
              @Override
              public void checkPermission(Permission p) {
                if (readClassPathFiles.implies(p)) {
                  throw new SecurityException("Disallowed: " + p);
                }
              }
            };
        System.setSecurityManager(disallowFilesSecurityManager);
        try {
          file.exists();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                  SerializableTester.reserializeAndAssert(instance);
                } else {
                  SerializableTester.reserialize(instance);
                }
              }
            } catch (Throwable e) {
              throw sanityError(classToTest, SERIALIZABLE_TEST_METHOD_NAMES, "serializable test", e);
            }
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

      int numThreads;
    
      private final Set<Thread> blockedThreads = new HashSet<>();
    
      @BeforeExperiment
      void setUp() throws Exception {
        if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) {
          throw new SkipThisScenarioException();
        }
      }
    
      // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look
      // larger than they are.
      @SuppressWarnings("FutureReturnValueIgnored")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with BouncyCastle",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
            SocketException exception = new SocketException();
            exception.initCause(e);
            throw exception;
          }
        }
    
        @Override public void close() throws IOException {
          serverSocketChannel.close();
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

                resource.setLastModified(System.currentTimeMillis());
    
                inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)));
            } else {
                throw new ResourceDoesNotExistException("No content provided for " + resource.getName());
            }
        }
    
        @Override
        public void fillOutputData(OutputData outputData) throws TransferFailedException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top