Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,001 for try (0.03 seconds)

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

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "computeIfAbsent(present, returnsCurrentValue) should return present or throw",
              v0(),
              getMap()
                  .computeIfAbsent(
                      k0(),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
          defaultValue // This charset is invalid or unsupported. Give up.
        }
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. docs/sts/casdoor.md

    Configure and install casdoor server by following [Casdoor Server Installation](https://casdoor.org/docs/basic/server-installation).
    For a quick installation, docker-compose reference configs are also available on the [Casdoor Try with Docker](https://casdoor.org/docs/basic/try-with-docker).
    
    ### Configure Casdoor
    
    - Go to Applications
      - Create or use an existing Casdoor application
      - Edit the application
        - Copy `Client ID` and `Client secret`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            oldProps.putAll(System.getProperties());
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            try (C context = createContext(invokerRequest)) {
                if (contextConsumer != null) {
                    contextConsumer.accept(context);
                }
                try {
                    if (context.containerCapsule != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            }
    
            if (pomFile == null) {
                Artifact pomArtifact = new DefaultArtifact(groupId, artifactId, "", "pom", version);
    
                try {
                    ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                    request.setTrace(trace);
                    pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

          @Override public void onFailure(Call call, IOException e) {
            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        }
    
        SubscriberExceptionContext toContext() {
          return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod());
        }
    
        private static Method subscriberMethod() {
          try {
            return DummySubscriber.class.getMethod("handle", Object.class);
          } catch (NoSuchMethodException e) {
            throw new AssertionError(e);
          }
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. internal/s3select/csv/errors.go

    	return err.message
    }
    
    func errCSVParsingError(err error) *s3Error {
    	return &s3Error{
    		code:       "CSVParsingError",
    		message:    "Encountered an error parsing the CSV file. Check the file and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidTextEncodingError() *s3Error {
    	return &s3Error{
    		code:       "InvalidTextEncoding",
    		message:    "UTF-8 encoding is required.",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

            getMaxWorkerHeap().convention("1g");
        }
    
        // it's easier to do this via reflection than to copy the whole task
        private void addKotlinCompilerToJapicmpClasspath() {
            try {
                Field additionalJapicmpClasspathField = JapicmpTask.class.getDeclaredField("additionalJapicmpClasspath");
                additionalJapicmpClasspathField.setAccessible(true);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top