Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 262 for Traverse (0.16 sec)

  1. src/slices/slices_test.go

    	Reverse(words)
    	if want := strings.Fields("three two one"); !Equal(words, want) {
    		t.Errorf("Reverse(words) = %v, want %v", words, want)
    	}
    
    	singleton := []string{"one"}
    	Reverse(singleton)
    	if want := []string{"one"}; !Equal(singleton, want) {
    		t.Errorf("Reverse(singeleton) = %v, want %v", singleton, want)
    	}
    
    	Reverse[[]string](nil)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

            for (Style.Emphasis emphasis : style.getEmphasises()) {
                if (emphasis.equals(Style.Emphasis.BOLD)) {
                    colors.add(newBoldColor());
                } else if (emphasis.equals(Style.Emphasis.REVERSE)) {
                    colors.add(newReverseColor());
                } else if (emphasis.equals(Style.Emphasis.ITALIC)) {
                    colors.add(newItalicColor());
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.declarativedsl.common
    
    import com.google.common.graph.Traverser
    import org.gradle.api.artifacts.ProjectDependency
    import org.gradle.api.artifacts.dsl.Dependencies
    import org.gradle.api.artifacts.dsl.DependencyCollector
    import org.gradle.declarative.dsl.schema.DataConstructor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

                        for (int i = elements.length - 1; i >= 0; i--) {
                          list.add(elements[i]);
                        }
                        return Lists.reverse(list);
                      }
                    })
                .named("Lists.reverse[ArrayList]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    ListFeature.GENERAL_PURPOSE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

                        for (int i = elements.length - 1; i >= 0; i--) {
                          list.add(elements[i]);
                        }
                        return Lists.reverse(list);
                      }
                    })
                .named("Lists.reverse[ArrayList]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.ALLOWS_NULL_VALUES,
                    ListFeature.GENERAL_PURPOSE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. docs/orchestration/docker-compose/docker-compose.yaml

      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
          - data1-1:/data1
          - data1-2:/data2
    
      minio2:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 05:40:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Ordering.java

     *       returned)
     * </ol>
     *
     * <p>Alas, {@link #reverse} is a little different. As you read backwards through a chain and
     * encounter a call to {@code reverse}, continue working backwards until a result is determined, and
     * then reverse that result.
     *
     * <h3>Additional notes</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/slices/iter_test.go

    			}
    		}
    	}
    
    	s = intPairs(SortedStableFunc(iterVal(Backward(data)), intPairCmp))
    	if !IsSortedFunc(s, intPairCmp) {
    		t.Errorf("SortedStableFunc didn't sort %d reverse ints", n)
    	}
    	if !s.inOrder(true) {
    		t.Errorf("SortedStableFunc wasn't stable on %d reverse ints", n)
    	}
    }
    
    func TestChunk(t *testing.T) {
    	cases := []struct {
    		name   string
    		s      []int
    		n      int
    		chunks [][]int
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. .github/workflows/mint/minio-resiliency.yaml

      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
          - rdata1-1:/rdata1
          - rdata1-2:/rdata2
    
      minio2:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top