Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 313 for Flatten (1.25 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeQueries.groovy

                    }
                }
            }
            matches
        }
    
        List<BuildOperationRecord.Progress> progress(Class<?> clazz) {
            return all().collect { it.progress(clazz) }.flatten()
        }
    
        void walk(Action<? super BuildOperationRecord> action) {
            roots.each { walk(it, action) }
        }
    
        @SuppressWarnings("GrMethodMayBeStatic")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

                                        }
                                    }
                                }
                            }
                        }
                    } else if (dependencies || !variants.dependencies.flatten().empty) {
                        dependencies {
                            dependencies.each { dep ->
                                dependency {
                                    groupId(dep.groupId)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    		if p.Port == port {
    			pn = p.Name
    			break
    		}
    	}
    	if pn == "" && port != 0 {
    		return nil
    	}
    	shards.RLock()
    	defer shards.RUnlock()
    	return slices.FilterInPlace(slices.Flatten(maps.Values(shards.Shards)), func(endpoint *model.IstioEndpoint) bool {
    		return pn == "" || endpoint.ServicePortName == pn
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        return durationsPerTestProject
            .mapValues { (_, durations) -> durations.flatten().map { it.scenario } }
    }
    
    class EmptyTestProjectBucket(private val index: Int) : PerformanceTestBucket {
        override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            val subprojectRoots = File("../platforms").listFiles(File::isDirectory).plus(File("../subprojects"))
            val subProjectFolders = subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir ->
                // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching
                dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/exception/DefaultExceptionAnalyserTest.groovy

                return causes
            }
    
            @Override
            List<String> getResolutions() {
                return causes.collect { it instanceof ResolutionProvider ? ((ResolutionProvider) it).getResolutions() : null }.flatten() as List<String>
            }
        }
    
        @Contextual
        abstract static class TestException extends LocationAwareException {
            protected TestException(Throwable cause, ScriptSource source, Integer lineNumber) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "TFL::IsReducedTailOfShape($0.getType(), $1.getType())">>;
    
    def IsRankLessThanEqualTo : Constraint<CPred<
      "$0.getType().cast<ShapedType>().getRank() <= "
      "$1.getType().cast<ShapedType>().getRank()">>;
    
    def Flatten : NativeCodeCall<
      "$0.cast<DenseElementsAttr>()"
        ".reshape(RankedTensorType::get({$0.getType().cast<ShapedType>().getNumElements()}, "
                                       "$0.getType().cast<ShapedType>().getElementType()))">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. pkg/slices/slices_test.go

    			input: [][]int{{1, 2}, {}, {3, 4}},
    			want:  []int{1, 2, 3, 4},
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := Flatten(tc.input)
    			if !reflect.DeepEqual(got, tc.want) {
    				t.Errorf("Flatten(%v) = %v; want %v", tc.input, got, tc.want)
    			}
    		})
    	}
    }
    
    // nolint: unused
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        /**
         * Recursively unpacks all the given things into a flat list.
         *
         * Nulls are not removed, they are left intact.
         *
         * @param things The things to flatten
         * @return A flattened list of the given things
         */
        public static List<?> flattenCollections(Object... things) {
            return flattenCollections(Object.class, things);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/validation/validation.go

    			cc.PodMaxBackoffSeconds, "must be greater than or equal to PodInitialBackoffSeconds"))
    	}
    
    	errs = append(errs, validateExtenders(field.NewPath("extenders"), cc.Extenders)...)
    	return utilerrors.Flatten(utilerrors.NewAggregate(errs))
    }
    
    func validatePercentageOfNodesToScore(path *field.Path, percentageOfNodesToScore *int32) error {
    	if percentageOfNodesToScore != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top