Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,467 for dist (0.19 sec)

  1. docs/fr/docs/tutorial/path-params.md

    ///
    
    #### Retourner des *membres d'énumération*
    
    Vous pouvez retourner des *membres d'énumération* dans vos *fonctions de chemin*, même imbriquée dans un JSON (e.g. un `dict`).
    
    Ils seront convertis vers leurs valeurs correspondantes (chaînes de caractères ici) avant d'être transmis au client :
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    You could pass a `dict`, a `list`, etc.
    
    They are handled automatically by **FastAPI** and converted to JSON.
    
    ///
    
    ## Add custom headers
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

    import org.codelibs.fess.app.web.admin.dataconfig.AdminDataconfigAction;
    import org.codelibs.fess.app.web.admin.design.AdminDesignAction;
    import org.codelibs.fess.app.web.admin.dict.AdminDictAction;
    import org.codelibs.fess.app.web.admin.duplicatehost.AdminDuplicatehostAction;
    import org.codelibs.fess.app.web.admin.elevateword.AdminElevatewordAction;
    import org.codelibs.fess.app.web.admin.esreq.AdminEsreqAction;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

            }
    
            // auth params
            final List<FileAuthentication> fileAuthList = fileAuthenticationService.getFileAuthenticationList(getId());
            final List<SmbAuthentication> smbAuthList = new ArrayList<>();
            final List<org.codelibs.fess.crawler.client.smb1.SmbAuthentication> smb1AuthList = new ArrayList<>();
            final List<FtpAuthentication> ftpAuthList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    	if !found {
    		list = append(list, node{nodeName: u.Host, disks: []string{u.String()}})
    	}
    	*el = list
    	return nil
    }
    
    type poolArgs struct {
    	args          []string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

              @Override
              protected void verify(List<T> elements) {
                assertEquals(newHashSet(elements), newHashSet(mmHeap.iterator()));
                assertIntact(mmHeap);
              }
            };
        tester.test();
      }
    
      public void testIteratorTester() throws Exception {
        Random random = new Random(0);
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < 3; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            List<ProducedArtifact> artifacts = getArtifacts();
            return artifacts.size() == 2 ? Optional.of(artifacts.get(1)) : Optional.empty();
        }
    
        /**
         * Returns the project artifacts as immutable list. Elements are the project POM artifact and the artifact
         * produced by this project build, if applicable. Hence, the returned list may have one or two elements
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

    import java.util.Collections;
    import java.util.List;
    
    public class SuggestWriterResult {
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
        public List<Throwable> getFailures() {
            return failures;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top