Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 2,237 for setI (0.03 sec)

  1. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", joiner.join(set));
        assertEquals("", joiner.join(set.iterator()));
    
        Object[] array = Lists.newArrayList(set).toArray(new Integer[0]);
        assertEquals("", joiner.join(array));
    
        StringBuilder sb1FromIterable = new StringBuilder();
        assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set));
        assertEquals(0, sb1FromIterable.length());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    	expectedQuery := url.Values{}
    	expectedQuery.Set("prefix", "Hello*World*")
    	expectedQuery.Set("X-Amz-Algorithm", "AWS4-HMAC-SHA256")
    	expectedQuery.Set("X-Amz-Credential", "USWUXHGYZQYFYFFIT3RE/20170529/us-east-1/s3/aws4_request")
    	expectedQuery.Set("X-Amz-Date", "20170529T190139Z")
    	expectedQuery.Set("X-Amz-Expires", "600")
    	expectedQuery.Set("X-Amz-SignedHeaders", "host")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
          return false;
        }
        return true;
      }
    
      private static boolean intersect(Set<?> a, Set<?> b) {
        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

        return delegate().incidentEdgeOrder();
      }
    
      @Override
      public Set<N> adjacentNodes(N node) {
        return delegate().adjacentNodes(node);
      }
    
      @Override
      public Set<N> predecessors(N node) {
        return delegate().predecessors(node);
      }
    
      @Override
      public Set<N> successors(N node) {
        return delegate().successors(node);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. buildscripts/verify-healing-with-root-disks.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$(mktemp -d)"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. callbacks/associations.go

    							db.AddError(ref.ForeignKey.Set(db.Statement.Context, joinValue, fv))
    						} else if ref.PrimaryValue != "" {
    							db.AddError(ref.ForeignKey.Set(db.Statement.Context, joinValue, ref.PrimaryValue))
    						} else {
    							fv, _ := ref.PrimaryKey.ValueOf(db.Statement.Context, elem)
    							db.AddError(ref.ForeignKey.Set(db.Statement.Context, joinValue, fv))
    						}
    					}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/response-model.md

    ```Python hl_lines="31  37"
    {!../../docs_src/response_model/tutorial005.py!}
    ```
    
    /// tip
    
    `{"name", "description"}` 语法创建一个具有这两个值的 `set`。
    
    等同于 `set(["name", "description"])`。
    
    ///
    
    #### 使用 `list` 而不是 `set`
    
    如果你忘记使用 `set` 而是使用 `list` 或 `tuple`,FastAPI 仍会将其转换为 `set` 并且正常工作:
    
    ```Python hl_lines="31  37"
    {!../../docs_src/response_model/tutorial006.py!}
    ```
    
    ## 总结
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThat(endpointPair.target()).isEqualTo(endpointPair.adjacentNode(node));
          }
    
          for (Integer adjacentNode : network.adjacentNodes(node)) {
            Set<String> edges = network.edgesConnecting(node, adjacentNode);
            Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node);
            assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges))
                .isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

            assertThat(endpointPair.target()).isEqualTo(endpointPair.adjacentNode(node));
          }
    
          for (Integer adjacentNode : network.adjacentNodes(node)) {
            Set<String> edges = network.edgesConnecting(node, adjacentNode);
            Set<String> antiParallelEdges = network.edgesConnecting(adjacentNode, node);
            assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges))
                .isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            this.fileId = fileId;
        }
    
    
        /**
         * @param padding
         *            the padding to set
         */
        public void setPadding ( byte padding ) {
            this.padding = padding;
        }
    
    
        /**
         * @param readFlags
         *            the readFlags to set
         */
        public void setReadFlags ( byte readFlags ) {
            this.readFlags = readFlags;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
Back to top