代码搜索结果
找到约 10,000 项符合
Logic Analyzer 的代码
logic.txt
Least Enlargement:
The idea is to find a rectangle that needs to be least enlarged in order to
accommodate the given rectangle. Enlargement in the sense that the sides of the
rectangle is so increa
logic.js
/*
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(
logic.js
/*
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(
logic.comp
component logic;
pin in bit in-##[16 : personality & 0xff];
pin out bit and if personality & 0x100;
pin out bit or if personality & 0x200;
pin out bit xor if personality & 0x400;
function _ nofp;
desc
art.logic
/*
This demonstrates the evaluation feature, among other things.
Try the query:
painterAge("seurat", title, age)
which should produce the result:
title = Bathers at Asni鑢es, age = 25.0
suffix.logic
/*
usage: suffix(SuffixList, LongerList)
Try the query:
suffix(L, ["a", "b", "c", "d"])
which should produce the result:
L = [a, b, c, d]
L = [b, c, d]
L = [c, d]
L = [d
permutation.logic
/*
Demonstration of creating permutations.
Usage: permutation(InList, OutList)
OutList is a permutation of InList.
Try the query:
permutation(["get kids", "mail package", "buy milk"], toDo)
bachelor.logic
/*
This demonstrates the comparison, and mostly negation.
Try the query:
bachelor(B)
which should produce the result:
B = dirk
no more results
*/
bachelor(X) :-
male(X), oldE