Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for orResult (0.06 sec)

  1. guava/src/com/google/common/collect/TreeMultiset.java

            return (result[0] == 0) ? this : rebalance();
          } else if (cmp > 0) {
            AvlNode<E> initRight = right;
            if (initRight == null) {
              result[0] = 0;
              return this;
            }
    
            right = initRight.remove(comparator, e, count, result);
    
            if (result[0] > 0) {
              if (count >= result[0]) {
                this.distinctElements--;
                this.totalCount -= result[0];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

            return (result[0] == 0) ? this : rebalance();
          } else if (cmp > 0) {
            AvlNode<E> initRight = right;
            if (initRight == null) {
              result[0] = 0;
              return this;
            }
    
            right = initRight.remove(comparator, e, count, result);
    
            if (result[0] > 0) {
              if (count >= result[0]) {
                this.distinctElements--;
                this.totalCount -= result[0];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            when(mavenExecutionRequest.getPom()).thenReturn(new File(PARENT_MODULE, "pom.xml"));
    
            Result<ProjectDependencyGraph> result = graphBuilder.build(session);
    
            assertFalse(result.hasErrors(), "Expected result not to have errors");
            List<MavenProject> actualReactorProjects = result.get().getSortedProjects();
            assertEquals(2, actualReactorProjects.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

        }
    
        /**
         * Append parsed arguments as quoted strings to the result builder.
         */
        private static void appendQuotedArguments(StringBuilder result, List<String> args) {
            for (String arg : args) {
                if (result.length() > 0) {
                    result.append(' ');
                }
                result.append('"').append(arg).append('"');
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
        arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. tests/test_fastapi_cli.py

            env={**os.environ, "PYTHONIOENCODING": "utf-8"},
        )
        assert result.returncode == 1, result.stdout
        assert "Path does not exist non_existent_file.py" in result.stdout
    
    
    def test_fastapi_cli_not_installed():
        with patch.object(fastapi.cli, "cli_main", None):
            with pytest.raises(RuntimeError) as exc_info:
                fastapi.cli.main()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 04:02:38 UTC 2025
    - 866 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        arraycopy(first, 0, result, 0, first.length);
        arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. tests/test_compat.py

        field_info = FieldInfo(annotation=Union[list[str], None])
        field = v2.ModelField(name="items", field_info=field_info)
        result = v2.serialize_sequence_value(field=field, value=["a", "b", "c"])
        assert result == ["a", "b", "c"]
        assert isinstance(result, list)
    
    
    @needs_py310
    def test_serialize_sequence_value_with_optional_list_pipe_union():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs_src/body/tutorial004_py310.py

        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, q: str | None = None):
        result = {"item_id": item_id, **item.model_dump()}
        if q:
            result.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 414 bytes
    - Viewed (0)
Back to top