Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isSuccessor (0.17 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            checkArgument(incidentEdge.nodeU().equals(thisNode));
    
            N successor = incidentEdge.nodeV();
            V value = successorNodeToValueFn.apply(successor);
    
            Object existingValue = adjacentNodeValues.put(successor, value);
            if (existingValue != null) {
              checkArgument(existingValue == PRED);
              adjacentNodeValues.put(successor, new PredAndSucc(value));
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

        }
      }
    
      private static <T extends @Nullable Object> void successor(AvlNode<T> a, AvlNode<T> b) {
        a.succ = b;
        b.pred = a;
      }
    
      private static <T extends @Nullable Object> void successor(
          AvlNode<T> a, AvlNode<T> b, AvlNode<T> c) {
        successor(a, b);
        successor(b, c);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

        }
      }
    
      private static <T extends @Nullable Object> void successor(AvlNode<T> a, AvlNode<T> b) {
        a.succ = b;
        b.pred = a;
      }
    
      private static <T extends @Nullable Object> void successor(
          AvlNode<T> a, AvlNode<T> b, AvlNode<T> c) {
        successor(a, b);
        successor(b, c);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

          }
    
          for (N successor : sanityCheckSet(graph.successors(node))) {
            allEndpointPairs.add(EndpointPair.of(graph, node, successor));
            assertThat(graph.predecessors(successor)).contains(node);
            assertThat(graph.hasEdgeConnecting(node, successor)).isTrue();
            assertThat(graph.incidentEdges(node)).contains(EndpointPair.of(graph, node, successor));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

        values[size] = value;
    
        insertIntoTableKToV(size, keyHash);
        insertIntoTableVToK(size, valueHash);
    
        int successor =
            (predecessor == ENDPOINT) ? firstInInsertionOrder : nextInInsertionOrder[predecessor];
        setSucceeds(predecessor, size);
        setSucceeds(size, successor);
        size++;
        modCount++;
        return null;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

            assertThat(network.edgesConnecting(predecessor, node)).isNotEmpty();
          }
    
          for (N successor : sanityCheckSet(network.successors(node))) {
            assertThat(network.predecessors(successor)).contains(node);
            assertThat(network.edgesConnecting(node, successor)).isNotEmpty();
          }
    
          for (E incidentEdge : sanityCheckSet(network.incidentEdges(node))) {
            assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
       * in the predecessor/successor arrays and the indexes in the elements array that they identify.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/erasure-metadata_test.go

    			if ok1 != ok2 {
    				t.Errorf("Expected %s, got %s", test.expectedErr, err)
    			}
    			if test.succmodTimes != nil {
    				if !test.expectedSuccModTime.Equal(fi.SuccessorModTime) {
    					t.Errorf("Expected successor mod time to be %v but got %v", test.expectedSuccModTime, fi.SuccessorModTime)
    				}
    				if test.expectedIsLatest != fi.IsLatest {
    					t.Errorf("Expected IsLatest to be %v but got %v", test.expectedIsLatest, fi.IsLatest)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    	replicationDecision string // internal representation of replication decision for use by DeleteObject handler
    	// The total count of all versions of this object
    	NumVersions int
    	//  The modtime of the successor object version if any
    	SuccessorModTime time.Time
    
    	// Checksums added on upload.
    	// Encoded, maybe encrypted.
    	Checksum []byte
    
    	// Inlined
    	Inlined bool
    
    	DataBlocks   int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    	}
    
    	// objProps represents properties that go beyond a single version
    	type objProps struct {
    		succModTime time.Time
    		numVersions int
    	}
    	// Find the successor mod time and numVersions in quorum, otherwise leave the
    	// candidate as found
    	otherPropsMap := make(counterMap[objProps])
    	var candidate FileInfo
    	var found bool
    	for i, hash := range metaHashes {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top