Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 299 for Something (0.09 seconds)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle context with null values")
        void testNullContext() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.UNKNOWN_ERROR, "Something went wrong", null, null, null);
    
            // Then
            assertNotNull(exception.getContext());
            assertTrue(exception.getContext().isEmpty());
    
            // Adding null context should be safe
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

      }
    
      private void swap(int i, int j) {
        T tmp = buffer[i];
        buffer[i] = buffer[j];
        buffer[j] = tmp;
      }
    
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
       * so its return value will get used naturally.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

        }
    
        @Test
        public void test_createErrorResponse_basic() {
            final Map<String, Object> response = chatApiManager.createErrorResponse("Something went wrong");
    
            assertEquals("error", response.get("status"));
            assertEquals("Something went wrong", response.get("message"));
        }
    
        @Test
        public void test_createErrorResponse_emptyMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         public void healthy() {
     *           // Services have been initialized and are healthy, start accepting requests...
     *         }
     *         public void failure(Service service) {
     *           // Something failed, at this point we could log it, notify a load balancer, or take
     *           // some other action.  For now we will just exit.
     *           System.exit(1);
     *         }
     *       },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  5. docs/en/docs/tutorial/handling-errors.md

    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | Technical Details
    
    You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

          this clear. You don't need to document a method if it's overriding an
          abstract method (either from an abstract superclass or an interface),
          unless your implementation is doing something "unexpected" e.g. deviating
          from the intent of the original method.
       4. Following on from the above point, please add docs to existing public
          methods if you are editing them, or to abstract methods if you can.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  7. tensorflow/c/c_api_function_test.cc

    TEST_F(CApiFunctionTest, Description) {
      DefineFunction(func_name_, &func_, "Return something");
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
      ASSERT_EQ(std::string("Return something"), fdef.signature().description());
    }
    
    TEST_F(CApiFunctionTest, Name) {
      DefineFunction("long_func_name", &func_, "Return something",
                     /*append_hash=*/false);
      tensorflow::FunctionDef fdef;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb/NtlmContext.java

    import jcifs.ntlmssp.Type3Message;
    import jcifs.util.Crypto;
    import jcifs.util.Hexdump;
    
    /**
     * For initiating NTLM authentication (including NTLMv2). If you want to add NTLMv2 authentication support to something
     * this is what you want to use. See the code for details. Note that JCIFS does not implement the acceptor side of NTLM
     * authentication.
     *
     */
    public class NtlmContext implements SSPContext {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  9. docs/en/docs/advanced/custom-response.md

    The `response_class` will then be used only to document the OpenAPI *path operation*, but your `Response` will be used as is.
    
    #### Return an `HTMLResponse` directly { #return-an-htmlresponse-directly }
    
    For example, it could be something like:
    
    {* ../../docs_src/custom_response/tutorial004_py310.py hl[7,21,23] *}
    
    In this example, the function `generate_html_response()` already generates and returns a `Response` instead of returning the HTML in a `str`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. scripts/general-llm-prompt.md

    Example:
    
    Source (English):
    
    ```
    <a href="https://fastapi.tiangolo.com/img/something.jpg" class="external-link" target="_blank">Something</a>
    ```
    
    Result (Spanish):
    
    ```
    <a href="https://fastapi.tiangolo.com/img/something.jpg" class="external-link" target="_blank">Algo</a>
    ```
    
    - For internal links, only translate link text.
    
    Example:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
Back to Top