Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for diamonds (0.1 sec)

  1. src/internal/dag/alg_test.go

    package dag
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    func TestTranspose(t *testing.T) {
    	g := mustParse(t, diamond)
    	g.Transpose()
    	wantEdges(t, g, "a->b a->c a->d b->d c->d")
    }
    
    func TestTopo(t *testing.T) {
    	g := mustParse(t, diamond)
    	got := g.Topo()
    	// "d" is the root, so it's first.
    	//
    	// "c" and "b" could be in either order, but Topo is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:44 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/dag/parse_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package dag
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    )
    
    const diamond = `
    NONE < a < b, c < d;
    `
    
    func mustParse(t *testing.T, dag string) *Graph {
    	t.Helper()
    	g, err := Parse(dag)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return g
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:42 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. architecture/security/docs/ca.dot

            sds -> SecretManager [label="Generate certificate"]
            SecretManager -> cfiles [label="Write certs to file"]
            cfiles [label="Certificate Files"]
            grpc [shape=diamond]
        }
    
        subgraph cluster_istiod {
            label = "Istiod"
            color="lightblue"
            ca
        }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 00:43:58 UTC 2023
    - 674 bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/substitutorProvider/FirIdeNormalAnalysisSourceModuleCreateInheritanceTypeSubstitutorTestGenerated.java

        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/cycle.kt");
      }
    
      @Test
      @TestMetadata("diamond.kt")
      public void testDiamond() {
        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/diamond.kt");
      }
    
      @Test
      @TestMetadata("directComplexSubstitution.kt")
      public void testDirectComplexSubstitution() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/substitutorProvider/FirIdeDependentAnalysisSourceModuleCreateInheritanceTypeSubstitutorTestGenerated.java

        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/cycle.kt");
      }
    
      @Test
      @TestMetadata("diamond.kt")
      public void testDiamond() {
        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/diamond.kt");
      }
    
      @Test
      @TestMetadata("directComplexSubstitution.kt")
      public void testDirectComplexSubstitution() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/substitutorProvider/FirStandaloneNormalAnalysisSourceModuleCreateInheritanceTypeSubstitutorTestGenerated.java

        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/cycle.kt");
      }
    
      @Test
      @TestMetadata("diamond.kt")
      public void testDiamond() {
        runTest("analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/diamond.kt");
      }
    
      @Test
      @TestMetadata("directComplexSubstitution.kt")
      public void testDirectComplexSubstitution() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stdout 'test/dep$'
    
    # Here we have 3 main packages, a, b, and nopgo, where a and b each has
    # its own default.pgo profile, and nopgo has none.
    # All 3 main packages import dep and dep2, both of which then import dep3
    # (a diamond-shape import graph).
    -- go.mod --
    module test
    go 1.20
    -- a/a.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- a/a_test.go --
    package main
    import "testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top