Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 6131 - 6140 of 7,303 for recur2 (0.05 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer.py

    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize", tokenUrl="token", auto_error=True
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
        }
    
        private static String chars(char c, int count) {
            return String.valueOf(c).repeat(Math.max(0, count));
        }
    
        private void infoLine(char c) {
            infoMain(chars(c, lineLength));
        }
    
        private void infoMain(String msg) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        }
    
        /**
         * Test constructor with an empty token.
         * Empty token causes readObject() to return null, which leads to NullPointerException.
         */
        @Test
        void testConstructor_EmptyToken() {
            // 1. GIVEN
            byte[] emptyToken = new byte[0];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            }
    
            public boolean waitForNotification(long timeoutMs) throws InterruptedException {
                return notificationLatch.await(timeoutMs, TimeUnit.MILLISECONDS);
            }
    
            public WitnessNotification getLastNotification() {
                return lastNotification;
            }
        }
    
        /**
         * Test witness client that allows injection of mock RPC client
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. internal/hash/checksum_test.go

    				typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)
    				if !typ.Is(ChecksumInvalid) {
    					t.Fatalf("Expected ChecksumInvalid for %s with full object, got %s", tt.name, typ.StringFull())
    				}
    				return
    			}
    			myData := []byte("this-is-a-checksum-data-test")
    			chksm := NewChecksumFromData(tt.checksum, myData)
    			if chksm == nil {
    				t.Fatalf("NewChecksumFromData failed for %s", tt.name)
    			}
    			if tt.fullobj {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            verifyNoMoreInteractions(mockNdrBuffer);
        }
    
        @Test
        void testDecode() throws NdrException {
            // Define the value that dec_ndr_small should return
            int decodedValue = 200;
            when(mockNdrBuffer.dec_ndr_small()).thenReturn(decodedValue);
    
            // Create an NdrSmall object (initial value doesn't matter for decode)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

                    } catch (final Exception e) {
                        logger.log(Level.WARNING, e, () -> {
                            final String canonicalPath = possibleJar.getCanonicalPath();
                            return "Failed to read JAR file: path=" + canonicalPath;
                        });
                    }
                }
            }
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * process based on the information contained in the request.
         *
         * @param invokerRequest the request containing all necessary information for the invocation
         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

         * requested model source.</li>
         * </ul>
         *
         * @param relPath is the path of the requested model source relative to this model source POM.
         * @return related model source or <code>null</code> if no such model source.
         */
        ModelSource2 getRelatedSource(String relPath);
    
        /**
         * Returns location of the POM, never <code>null</code>.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/body-fields.md

    Remember that when you import `Query`, `Path`, and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top