Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2851 - 2860 of 3,960 for trying (0.08 sec)

  1. tests/test_request_params/test_body/test_optional_str.py

    from typing import Annotated, Optional
    
    import pytest
    from fastapi import Body, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-str", operation_id="optional_str")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    	return string(s.token)
    }
    
    // ErrFinalToken is a special sentinel error value. It is intended to be
    // returned by a Split function to indicate that the scanning should stop
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T> the type of array elements
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this elevate word configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
         * The timestamp when this elevate word configuration was last updated.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The username of the user who last updated this request header configuration.
         * Used for audit trail purposes to track who made changes.
         */
        @Size(max = 1000)
        public String updatedBy;
    
        /**
         * The timestamp when this request header configuration was last updated.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

         * @return A new {@link SynonymFile} associated with the dictionary manager.
         */
        @Override
        protected DictionaryFile<? extends DictionaryItem> newDictionaryFile(final String id, final String path, final Date timestamp) {
            return new SynonymFile(id, path, timestamp).manager(dictionaryManager);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionInternal.java

         *
         * @param share the share name to connect to
         * @param service the service type for the connection
         * @return tree instance
         */
        SmbTree getSmbTree(String share, String service);
    
        /**
         * Initiate reauthentication
         *
         * @throws CIFSException if reauthentication fails
         */
        void reauthenticate() throws CIFSException;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. cmd/iam-object-store_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    func TestSplitPath(t *testing.T) {
    	cases := []struct {
    		path                          string
    		secondIndex                   bool
    		expectedListKey, expectedItem string
    	}{
    		{"format.json", false, "format.json", ""},
    		{"users/tester.json", false, "users/", "tester.json"},
    		{"groups/test/group.json", false, "groups/", "test/group.json"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. cmd/shared-lock.go

    	minimum:       10 * time.Second,
    	retryInterval: time.Minute,
    })
    
    type sharedLock struct {
    	lockContext chan LockContext
    }
    
    func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) {
    	for {
    		locker := objAPI.NewNSLock(minioMetaBucket, lockName)
    		lkctx, err := locker.GetLock(ctx, sharedLockTimeout)
    		if err != nil {
    			continue
    		}
    
    	keepLock:
    		for {
    			select {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. internal/mountinfo/mountinfo_windows.go

    // this is a dummy function and returns nil for now.
    func CheckCrossDevice(paths []string) error {
    	return nil
    }
    
    // mountPointCache contains results of IsLikelyMountPoint
    var mountPointCache sync.Map
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	path = filepath.Dir(path)
    	if v, ok := mountPointCache.Load(path); ok {
    		if b, ok := v.(bool); ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top