Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2201 - 2210 of 6,416 for usen (0.27 seconds)

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

  1. docs_src/extra_models/tutorial002_py39.py

    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 830 bytes
    - Click Count (0)
  2. cmd/iam-object-store.go

    		iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    		iamOS.deleteIAMConfig(ctx, getMappedPolicyPath(user, userType, false))
    		return u, errNoSuchUser
    	}
    
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    				// We should delete such that the client can re-request
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("bad-snapshot-version.xml");
    
            assertViolations(result, 0, 0, 1);
    
            assertContains(result.getWarnings().get(0), "'version' uses an unsupported snapshot version format");
        }
    
        @Test
        void testBadRepositoryId() throws Exception {
            SimpleProblemCollector result = validate("bad-repository-id.xml");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    /*
     * Tests for Smb2IoctlResponse.
     *
     * Notes:
     * - Comments are in English as requested.
     * - JUnit 5 is used; Mockito is not required here.
     */
    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertNotNull(logonInfo.getResourceGroupSids());
            assertEquals(0, logonInfo.getResourceGroupSids().length);
        }
    
        @Test
        @DisplayName("Test user flags using mock")
        void testUserFlags() throws Exception {
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Test with extra SIDs flag
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals(Method.HEAD, data3.getMethod());
            assertEquals("https://example.com/head", data3.getUrl());
        }
    
        public void test_buildMultipleTimes() {
            // Test that context can be used to build multiple times
            RequestDataBuilder.RequestDataContext context = RequestDataBuilder.newRequestData().get().url("https://example.com");
    
            RequestData data1 = context.build();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            handshakeCertificates.sslSocketFactory(),
            handshakeCertificates.trustManager,
          ).build()
      }
    
      private fun buildServerSslSocketFactory(): SSLSocketFactory {
        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/AbstractBaseGraph.java

     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            return javaPattern + "|" + CHROME_PATTERN_STR;
        }
    
        public static void main(String[] args) {
            initExecutionMode(args);
    
            File rootProjectDir = new File(System.getProperty("user.dir"));
    
            cleanPsOutputAndThreaddumpFilesFromPreviousRun(rootProjectDir);
    
            List<String> psOutput = ps();
    
            writePsOutputToFile(rootProjectDir, psOutput);
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. api/go1.7.txt

    pkg os/user, func LookupGroup(string) (*Group, error)
    pkg os/user, func LookupGroupId(string) (*Group, error)
    pkg os/user, method (*User) GroupIds() ([]string, error)
    pkg os/user, method (UnknownGroupError) Error() string
    pkg os/user, method (UnknownGroupIdError) Error() string
    pkg os/user, type Group struct
    pkg os/user, type Group struct, Gid string
    pkg os/user, type Group struct, Name string
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Click Count (0)
Back to Top