Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for SomeThing (0.2 sec)

  1. docs/contribute/contributing.md

    If you have a new feature idea, please build it in an external library. There are
    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    
    Code Contributions
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. internal/rest/client_test.go

    		},
    		{
    			name: "net.Error",
    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    			err:  errors.New("something"),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = Lists.newLinkedList();
        public final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.offer(o);
        }
    
        @Override
        public @Nullable E poll() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    `Optional[Something]` насправді є скороченням для `Union[Something, None]`, вони еквівалентні.
    
    Це також означає, що в Python 3.10 ви можете використовувати `Something | None`:
    
    //// tab | Python 3.8 і вище
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
         * feature for entrySet() that supports add(), or something else
         */
        return asList(
            getAddUnsupportedNotPresentMethod(),
            getAddAllUnsupportedNonePresentMethod(),
            getAddAllUnsupportedSomePresentMethod());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

      @BeforeEach
      fun setUp() {
        originalDefault = TimeZone.getDefault()
        // The default timezone should affect none of these tests: HTTP specified GMT, so we set it to
        // something else.
        TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - plugin dependency metadata missing
    - plugin dependency metadata retrieval problem
    - plugin configuration problem
    - plugin execution failure due to something that is know to possibly go wrong (like compilation failure)
    - plugin execution error due to something that is not expected to go wrong (the compiler executable missing)
    - asking to use a plugin for which you do not have a version defined - tools to easily select versions
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/TempFileCreator.java

          // The JELLY_BEAN field doesn't exist because we're running on a version before Jelly Bean :)
          return new ThrowingCreator();
        } catch (ClassNotFoundException e) {
          // Should be impossible, but we want to return *something* so that class init succeeds.
          return new ThrowingCreator();
        } catch (IllegalAccessException e) {
          // ditto
          return new ThrowingCreator();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    Então se você tiver um objeto `alguma_coisa` (que pode *não* ser uma função) que você possa "chamar" (executá-lo) dessa maneira:
    
    ```Python
    something()
    ```
    
    ou
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    Então esse objeto é um "chamável".
    
    ## Classes como dependências
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    * `500` and above are for server errors. You almost never use them directly. When something goes wrong at some part in your application code, or server, it will automatically return one of these status codes.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top