Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for g1 (0.01 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        MutableNetwork<Integer, String> g1 = builder.build();
        MutableNetwork<Integer, String> g2 = builder.build();
    
        // for ug1, add e12 first, then e12_a
        g1.addEdge(N1, N2, E12);
        g1.addEdge(N1, N2, E12_A);
    
        // for ug2, add e12_a first, then e12
        g2.addEdge(N1, N2, E12_A);
        g2.addEdge(N1, N2, E12);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        MutableNetwork<Integer, String> g1 = builder.build();
        MutableNetwork<Integer, String> g2 = builder.build();
    
        // for ug1, add e12 first, then e12_a
        g1.addEdge(N1, N2, E12);
        g1.addEdge(N1, N2, E12_A);
    
        // for ug2, add e12_a first, then e12
        g2.addEdge(N1, N2, E12_A);
        g2.addEdge(N1, N2, E12);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
        // for g2, add 3->1 first, then 1->2
        g2.putEdge(N3, N1);
        g2.putEdge(N1, N2);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
        // for g2, add 3->1 first, then 1->2
        g2.putEdge(N3, N1);
        g2.putEdge(N1, N2);
    
        assertThat(g1).isEqualTo(g2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. prepare_stmt.go

    	// Reason why cannot lock conn.PrepareContext
    	// suppose the maxopen is 1, g1 is creating record and g2 is querying record.
    	// 1. g1 begin tx, g1 is requeue because of waiting for the system call, now `db.ConnPool` db.numOpen == 1.
    	// 2. g2 select lock `conn.PrepareContext(ctx, query)`, now db.numOpen == db.maxOpen , wait for release.
    	// 3. g1 tx exec insert, wait for unlock `conn.PrepareContext(ctx, query)` to finish tx and release.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top