Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for _unordered (0.21 sec)

  1. src/internal/trace/internal/oldtrace/parser_test.go

    			if err != nil {
    				t.Errorf("failed to parse good trace %v: %v", f.Name(), err)
    			}
    			checkTrace(t, int(v), trace)
    		case strings.HasSuffix(f.Name(), "_unordered"):
    			if err != ErrTimeOrder {
    				t.Errorf("unordered trace is not detected %v: %v", f.Name(), err)
    			}
    		default:
    			t.Errorf("unknown input file suffix: %v", f.Name())
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        populateTShapedGraph();
    
        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
                EndpointPair.unordered(1, 3),
                EndpointPair.unordered(4, 5))
            .inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/order.go

    		return
    	default:
    		// no ordering requirements
    		g = unordered
    		return
    	}
    }
    
    func transitionReady(g uint64, curr, init gState) bool {
    	return g == unordered || (init.seq == noseq || init.seq == curr.seq) && init.status == curr.status
    }
    
    func transition(gs map[uint64]gState, g uint64, init, next gState) error {
    	if g == unordered {
    		return nil
    	}
    	curr := gs[g]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/testing/example.go

    	passed = true
    	dstr := fmtDuration(timeSpent)
    	var fail string
    	got := strings.TrimSpace(stdout)
    	want := strings.TrimSpace(eg.Output)
    	if eg.Unordered {
    		if sortLines(got) != sortLines(want) && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant (unordered):\n%s\n", stdout, eg.Output)
    		}
    	} else {
    		if got != want && recovered == nil {
    			fail = fmt.Sprintf("got:\n%s\nwant:\n%s\n", got, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/go/doc/example.go

    			if f.Doc != nil {
    				doc = f.Doc.Text()
    			}
    			output, unordered, hasOutput := exampleOutput(f.Body, file.Comments)
    			flist = append(flist, &Example{
    				Name:        name[len("Example"):],
    				Doc:         doc,
    				Code:        f.Body,
    				Play:        playExample(file, f),
    				Comments:    file.Comments,
    				Output:      output,
    				Unordered:   unordered,
    				EmptyOutput: output == "" && hasOutput,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CollectCollectors.java

         */
        return Collector.of(
            () -> new ImmutableSortedMap.Builder<K, V>(comparator),
            (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)),
            ImmutableSortedMap.Builder::combine,
            ImmutableSortedMap.Builder::buildOrThrow,
            Collector.Characteristics.UNORDERED);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top