Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 922 for Optional (0.12 sec)

  1. guava/src/com/google/common/graph/AbstractValueGraph.java

            return AbstractValueGraph.this.outDegree(node);
          }
        };
      }
    
      @Override
      public Optional<V> edgeValue(N nodeU, N nodeV) {
        return Optional.ofNullable(edgeValueOrDefault(nodeU, nodeV, null));
      }
    
      @Override
      public Optional<V> edgeValue(EndpointPair<N> endpoints) {
        return Optional.ofNullable(edgeValueOrDefault(endpoints, null));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-b-1.0.pom

        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t06-d</artifactId>
          <version>1.1</version>
          <type>jar</type>
          <scope>compile</scope>
          <optional>false</optional>
        </dependency>
      </dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 622 bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        }
    
        public static Optional<AccessorKey> maybeGetKeyOfOldAccessorOfUpgradedProperty(JApiCompatibility jApiCompatibility, ViolationCheckContext context) {
            if (!(jApiCompatibility instanceof JApiMethod) || !((JApiMethod) jApiCompatibility).getOldMethod().isPresent()) {
                return Optional.empty();
            }
            JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                     TF_Message(first_bad_status.get()));
      }
    }
    
    absl::optional<std::vector<std::unique_ptr<ParallelTensor>>>
    ParallelDevice::Join(
        const std::vector<PartialTensorShape>& expected_output_shapes,
        TF_Status* status) const {
      absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> result;
      // Compute per-device per-output tensors
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionAnalyzer.java

         * @param result Outcome of the current Maven build.
         * @return A {@link BuildResumptionData} instance or {@link Optional#empty()} if resuming the build is not possible.
         */
        Optional<BuildResumptionData> determineBuildResumptionData(MavenExecutionResult result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tests/test_param_class.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    Sử dụng `Optional[str]` thay cho `str` sẽ cho phép trình soạn thảo giúp bạn phát hiện các lỗi mà bạn có thể gặp như một giá trị luôn là một `str`, trong khi thực tế nó rất có thể là `None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    usedTypes.clear();
                }
            }
        }
    
        @Override
        public Optional<Type> lookup(String id) {
            return Optional.of(require(id));
        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml

          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t06-d</artifactId>
            <version>1.2</version>
            <scope>test</scope>
            <optional>false</optional>
          </dependency>
        </dependencies>
      </dependencyManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 992 bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/logic.js

    ingInputs=this.dependingInputs||[],this.dependingInputs.push(c)})})},c=function(b,c){var d=function(){var c=a(this),d=c.valAttr("optional-if-answered"),e=!1,f=!!a.formUtils.getValue(c);f||(a.each(a.split(d),function(c,d){var f=b.find('[name="'+d+'"]');if(e=!!a.formUtils.getValue(f))return!1}),e&&c.valAttr("skipped",1))},e=function(){var d=a(this),e=d.valAttr("optional-if-answered");a.each(a.split(e),function(d,e){var f=b.find('[name="'+e+'"]'),g=!!a.formUtils.getValue(f);g||a.formUtils.dialogs.r...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top