Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2501 - 2510 of 4,204 for Hint (0.2 sec)

  1. android/guava-tests/test/com/google/common/graph/ElementOrderTest.java

      @Test
      public void customComparator() {
        Comparator<NonComparableSuperClass> comparator =
            new Comparator<NonComparableSuperClass>() {
              @Override
              public int compare(NonComparableSuperClass left, NonComparableSuperClass right) {
                return left.value.compareTo(right.value);
              }
            };
    
        MutableGraph<NonComparableSuperClass> graph =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/storage-interface.go

    	// File operations.
    	ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) ([]string, error)
    	ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error)
    	AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          throws InterruptedException, ExecutionException {
        for (int i = 0; i < futures.size(); i++) {
          assertEquals(RESULT_VALUE + i, futures.get(i).get());
        }
      }
    
      private static List<Callable<String>> createTasks(int n) {
        List<Callable<String>> callables = new ArrayList<>();
        for (int i = 0; i < n; i++) {
          callables.add(Callables.returning(RESULT_VALUE + i));
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            // This could be enhanced with proper version parsing if needed
            try {
                String[] parts = modelVersion.split("\\.");
                if (parts.length >= 2) {
                    int major = Integer.parseInt(parts[0]);
                    int minor = Integer.parseInt(parts[1]);
    
                    if (major > 4) {
                        return true;
                    }
                    if (major == 4 && minor > 1) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server_gen.go

    				return
    			}
    		case "CmdLines":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "CmdLines")
    				return
    			}
    			if cap(z.CmdLines) >= int(zb0002) {
    				z.CmdLines = (z.CmdLines)[:zb0002]
    			} else {
    				z.CmdLines = make([]string, zb0002)
    			}
    			for za0001 := range z.CmdLines {
    				z.CmdLines[za0001], err = dc.ReadString()
    				if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
            final int threadCount = 100;
            final int iterationsPerThread = 1000;
            final Set<Exception> exceptions = new HashSet<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
                threads[i] = new Thread(new Runnable() {
                    @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
        public static int repositoriesHashCode(List<RemoteRepository> repositories) {
            int result = 17;
            for (RemoteRepository repository : repositories) {
                result = 31 * result + repositoryHashCode(repository);
            }
            return result;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/path-params.md

    本例把 `item_id` 的类型声明为 `int`。
    
    /// check | 检查
    
    类型声明将为函数提供错误检查、代码补全等编辑器支持。
    
    ///
    
    ## 数据<abbr title="也称为:序列化、解析">转换</abbr>
    
    运行示例并访问 <a href="http://127.0.0.1:8000/items/3" class="external-link" target="_blank">http://127.0.0.1:8000/items/3</a>,返回的响应如下:
    
    ```JSON
    {"item_id":3}
    ```
    
    /// check | 检查
    
    注意,函数接收并返回的值是 `3`( `int`),不是 `"3"`(`str`)。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:43:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Verifique
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    	var nodeIndex int
    	if subToken, nodeIndex = parseRequestToken(token); nodeIndex >= 0 {
    		proxied, success = proxyRequestByNodeIndex(ctx, w, r, nodeIndex, returnErr)
    	}
    	return subToken, proxied, success
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int, returnErr bool) (proxied, success bool) {
    	if len(globalProxyEndpoints) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top