Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 434 for duplicates (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            }
            return scope == null || !scope.isTransitive();
        }
    
        private Dependency merge(Dependency dep1, Dependency dep2) {
            throw new IllegalArgumentException("Duplicate dependency: " + getDependencyKey(dep1));
        }
    
        private static String getDependencyKey(org.apache.maven.api.Dependency dependency) {
            return dependency.getGroupId() + ":" + dependency.getArtifactId() + ":"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    current.println('---')
                    if (test.name != null && test.name.isBlank() == false) {
                        if(names.add(test.name) == false) {
                            throw new InvalidUserDataException("Duplicated snippet name '$test.name': $test")
                        }
                        current.println("\"$test.name\":")
                    } else {
                        current.println("\"line_$test.start\":")
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(2, 3, "2-3");
        graph.putEdgeValue(2, 1, "2-1");
        graph.putEdgeValue(2, 4, "2-4");
        graph.putEdgeValue(1, 2, "1-2"); // Duplicate nodes, different value
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.unordered(2, 3),
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(2, 4))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. fastapi/_compat/v2.py

                )
            )
        return model_fields
    
    
    @lru_cache
    def get_cached_model_fields(model: type[BaseModel]) -> list[ModelField]:
        return get_model_fields(model)
    
    
    # Duplicate of several schema functions from Pydantic v1 to make them compatible with
    # Pydantic v2 and allow mixing the models
    
    TypeModelOrEnum = type["BaseModel"] | type[Enum]
    TypeModelSet = set[TypeModelOrEnum]
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. ci/official/utilities/code_check_full.bats

            fi
            if [[ -e errors.txt ]]; then
                echo "Broken links found:"
                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                lifecycle.allPhases().forEach(phase -> {
                    if (!set.add(phase.name())) {
                        throw new IllegalArgumentException(
                                "Found duplicated phase '" + phase.name() + "' in '" + lifecycle.id() + "' lifecycle");
                    }
                });
            }
        }
    
        @Override
        public Iterator<Lifecycle> iterator() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // We use this somewhat weird pattern with an enum for each assertion we want to make as a way
        // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to
        // have to have duplicate @GwtIncompatible test methods just to make that assertion.
        for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) {
          strategy.assertFailsToDecode(encoding, cannotDecode, expectedMessage);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. fastapi/openapi/utils.py

        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            endpoint_name = getattr(route.endpoint, "__name__", "<unnamed_endpoint>")
            message = f"Duplicate Operation ID {operation_id} for function {endpoint_name}"
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/lex/input.go

    				acceptArg = true
    			case scanner.Ident:
    				if !acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				arg := in.Stack.Text()
    				if slices.Contains(args, arg) {
    					in.Error("duplicate argument", arg, "in definition for macro:", name)
    				}
    				args = append(args, arg)
    				acceptArg = false
    			default:
    				in.Error("bad definition for macro:", name)
    			}
    		}
    	}
    	var tokens []Token
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            // lives.
            // We do this based on the Gradle project path because there's a direct correlation, so we dont have to duplicate
            // the logic from there
            switch (getGradleProjectPathFor(version)) {
                case ":distribution":
                    return "master";
                case ":distribution:bwc:minor":
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
Back to Top