Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5001 - 5010 of 5,206 for RETURN (0.03 sec)

  1. docs/en/docs/environment-variables.md

    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.
    
    If not provided, it's `None` by default, here we provide `"World"` as the default value to use.
    
    ///
    
    Then you could call that Python program:
    
    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            String retrievedMessage = exception.getMessage();
            assertEquals(testMessage, retrievedMessage);
    
            // Test that multiple calls return the same message
            assertEquals(retrievedMessage, exception.getMessage());
            assertEquals(retrievedMessage, exception.getMessage());
        }
    
        public void test_fillInStackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

                    }
                  }
                }
    
                else -> {
                  unexpectedValues = true // Unexpected extension.
                }
              }
            }
          }
    
          return WebSocketExtensions(
            perMessageDeflate = compressionEnabled,
            clientMaxWindowBits = clientMaxWindowBits,
            clientNoContextTakeover = clientNoContextTakeover,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

        @Inject
        private ArtifactFactory artifactFactory;
    
        DefaultUpdateCheckManager updateCheckManager;
    
        @Override
        protected String component() {
            return "updateCheckManager";
        }
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-updates.md

        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    
    /// tip
    
    You can actually use this same technique with an HTTP `PUT` operation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/security/http-basic-auth.md

    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Isso seria parecido com:
    
    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    Porém, ao utilizar o `secrets.compare_digest()`, isso estará seguro contra um tipo de ataque chamado "timing attacks" (ataques de temporização).
    
    ### Ataques de Temporização
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/policy_test.go

    			t.Fatalf("case %v: expected: %v, got: %v\n", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func getReadOnlyStatement(bucketName, prefix string) []miniogopolicy.Statement {
    	return []miniogopolicy.Statement{
    		{
    			Effect:    string(policy.Allow),
    			Principal: miniogopolicy.User{AWS: set.CreateStringSet("*")},
    			Resources: set.CreateStringSet(policy.NewResource(bucketName).String()),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun bodyResponseUnknownEncoded() {
        setLevel(Level.BODY)
        server.enqueue(
          MockResponse
            .Builder() // It's invalid to return this if not requested, but the server might anyway
            .setHeader("Content-Encoding", "br")
            .setHeader("Content-Type", PLAIN)
            .body(Buffer().write("iwmASGVsbG8sIEhlbGxvLCBIZWxsbwoD".decodeBase64()!!))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        for (Class<?> mutableClass : mutableClasses) {
          Object instance = ArbitraryInstances.get(mutableClass);
          assertNotNull("Expected to return non-null for: " + mutableClass, instance);
          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ACETest.java

            void shouldHandleNullSID() {
                ACE ace = mock(ACE.class);
                when(ace.getSID()).thenReturn(null);
    
                SID result = ace.getSID();
                assertNull(result, "getSID() should return null when configured");
                verify(ace).getSID();
            }
    
            @Test
            @DisplayName("Should handle zero access mask")
            void shouldHandleZeroAccessMask() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top