Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for succFn (0.21 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    		fmt.Fprintf(&buf, ".%d: # %s\n", b.Index, b.comment(fset))
    		for _, n := range b.Nodes {
    			fmt.Fprintf(&buf, "\t%s\n", formatNode(fset, n))
    		}
    		if len(b.Succs) > 0 {
    			fmt.Fprintf(&buf, "\tsuccs:")
    			for _, succ := range b.Succs {
    				fmt.Fprintf(&buf, " %d", succ.Index)
    			}
    			buf.WriteByte('\n')
    		}
    		buf.WriteByte('\n')
    	}
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/check.go

    			}
    		case BlockRetJmp:
    			if len(b.Succs) != 0 {
    				f.Fatalf("retjmp block %s len(Succs)==%d, want 0", b, len(b.Succs))
    			}
    			if b.NumControls() != 1 {
    				f.Fatalf("retjmp block %s has nil control", b)
    			}
    			if !b.Controls[0].Type.IsMemory() {
    				f.Fatalf("retjmp block %s has non-memory control value %s", b, b.Controls[0].LongString())
    			}
    		case BlockPlain:
    			if len(b.Succs) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    		Stmt:  stmt,
    	}
    	block.Succs = block.succs2[:0]
    	g.Blocks = append(g.Blocks, block)
    	return block
    }
    
    func (b *builder) add(n ast.Node) {
    	b.current.Nodes = append(b.current.Nodes, n)
    }
    
    // jump adds an edge from the current block to the target block,
    // and sets b.current to nil.
    func (b *builder) jump(target *Block) {
    	b.current.Succs = append(b.current.Succs, target)
    	b.current = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/block.go

    func (b *Block) removeSucc(i int) {
    	n := len(b.Succs) - 1
    	if i != n {
    		e := b.Succs[n]
    		b.Succs[i] = e
    		// Update the other end of the edge we moved.
    		e.b.Preds[e.i].i = i
    	}
    	b.Succs[n] = Edge{}
    	b.Succs = b.Succs[:n]
    	b.Func.invalidateCFG()
    }
    
    func (b *Block) swapSuccessors() {
    	if len(b.Succs) != 2 {
    		b.Fatalf("swapSuccessors with len(Succs)=%d", len(b.Succs))
    	}
    	e0 := b.Succs[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            // Adding the class hashCode to avoid a clash with Succ instances.
            return Pred.class.hashCode() + node.hashCode();
          }
        }
    
        static final class Succ<N> extends NodeConnection<N> {
          Succ(N node) {
            super(node);
          }
    
          @Override
          public boolean equals(@CheckForNull Object that) {
            if (that instanceof Succ) {
              return this.node.equals(((Succ<?>) that).node);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    				// A variable is live on output from this block
    				// if it is live on input to some successor.
    				//
    				// out[b] = \bigcup_{s \in succ[b]} in[s]
    				newliveout.Copy(lv.blockEffects(b.Succs[0].Block()).livein)
    				for _, succ := range b.Succs[1:] {
    					newliveout.Or(newliveout, lv.blockEffects(succ.Block()).livein)
    				}
    			}
    
    			if !be.liveout.Eq(newliveout) {
    				change = true
    				be.liveout.Copy(newliveout)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/sccp.go

    		break
    	case BlockDefer:
    		// we know nothing about control flow, add all branch destinations
    		t.edges = append(t.edges, block.Succs...)
    	case BlockFirst:
    		fallthrough // always takes the first branch
    	case BlockPlain:
    		t.edges = append(t.edges, block.Succs[0])
    	case BlockIf, BlockJumpTable:
    		cond := block.ControlValues()[0]
    		condLattice := t.getLatticeCell(cond)
    		if condLattice.tag == bottom {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/additional-status-codes.md

    Par exemple, disons que vous voulez avoir un *chemin d'accès* qui permet de mettre à jour les éléments et renvoie les codes HTTP 200 "OK" en cas de succès.
    
    Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 "Créé".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

        }
      }
    
      for (auto succ : GetSuccessors(op)) {
        if (is_cluster_op && !IsTpuRegularOp(succ) && has_cluster_metadata) {
          if (!CheckReplicatedIOOp(succ, metadata_map[cluster], op)) return false;
        }
        if (is_cluster_op && IsTpuRegularOp(succ)) {
          if (!CheckClusterSuccessors(succ, cluster, op, metadata_map))
            return false;
        }
        if (!is_cluster_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        super.insertEntry(entryIndex, key, value, hash, mask);
        setSucceeds(lastEntry, entryIndex);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top