Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,808 for try (0.01 sec)

  1. configure.py

    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
      return platform.system().startswith('CYGWIN_NT')
    
    
    def get_input(question):
      try:
        try:
          answer = raw_input(question)
        except NameError:
          answer = input(question)  # pylint: disable=bad-builtin
      except EOFError:
        answer = ''
      return answer
    
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotEmpty("path", path);
    
            final URL url = getResourceNoException(path, extension);
            if (url == null) {
                return null;
            }
            try {
                return url.openStream();
            } catch (final IOException e) {
                return null;
            }
        }
    
        /**
         * Returns whether the resource exists in the context class loader.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
                response.readBytesWireFormat(buffer, 0);
                // If no exception, it's because other validation conditions weren't met
                // The important point is that the validation logic exists in the code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. docs/bucket/versioning/README.md

    public class EnableVersioning {
      /** MinioClient.enableVersioning() example. */
      public static void main(String[] args)
          throws IOException, NoSuchAlgorithmException, InvalidKeyException {
        try {
          /* play.min.io for test and development. */
          MinioClient minioClient =
              MinioClient.builder()
                  .endpoint("https://play.min.io")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

        }
    
        public void test_constructorExists() {
            // Verify constructor exists with expected parameters
            try {
                FessActionValidator.class.getConstructor(RequestManager.class, UserMessagesCreator.class, Class[].class);
                assertTrue("Constructor with required parameters exists", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

          "trustManager",
        )
      }
    
      companion object {
        @Suppress("UNCHECKED_CAST")
        fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? =
          try {
            val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
            val sslSocketFactoryClass =
              Class.forName("$packageName.OpenSSLSocketFactoryImpl") as Class<in SSLSocketFactory>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        ExampleClassUnderTest.foo();
        for (LogRecord unused : handler.getStoredLogRecords()) {
          ExampleClassUnderTest.foo();
        }
      }
    
      @Override
      public final void runBare() throws Throwable {
        try {
          setUp();
          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        stack.runTearDown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

                .addNetworkInterceptor(REWRITE_CACHE_CONTROL_INTERCEPTOR)
                .build();
          } else {
            System.out.println("Force cache: false");
            clientForCall = client;
          }
    
          try (Response response = clientForCall.newCall(request).execute()) {
            if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

            new ForwardingExecutorService() {
              @Override
              protected ExecutorService delegate() {
                return delegate;
              }
            };
        Method closeMethod;
        try {
          closeMethod = wrapper.getClass().getMethod("close");
        } catch (NoSuchMethodException e) {
          assertThat(isAndroid() || isBeforeJava19()).isTrue();
          return; // close() doesn't exist, so we can't test it.
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            final int len = readStringLength(buffer, bufferIndex, 32);
            try {
                service = new String(buffer, bufferIndex, len, "ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            bufferIndex += len + 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top