- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Sieve (0.12 sec)
-
test/sieve.go
} } } // The prime sieve: Daisy-chain Filter processes together. func Sieve() { ch := make(chan int) // Create a new channel. go Generate(ch) // Start Generate() as a subprocess. for { prime := <-ch print(prime, "\n") ch1 := make(chan int) go Filter(ch, ch1, prime) ch = ch1 } } func main() { Sieve()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:48:19 UTC 2012 - 1K bytes - Viewed (0) -
test/chan/sieve1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test concurrency primitives: classical inefficient concurrent prime sieve. // Generate primes up to 100 using channels, checking the results. // This sieve consists of a linear chain of divisibility filters, // equivalent to trial-dividing each n by all primes p ≤ n. package main // Send the sequence 2, 3, 4, ... to channel 'ch'.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:44:02 UTC 2012 - 1.5K bytes - Viewed (0) -
test/chan/sieve2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test concurrency primitives: prime sieve of Eratosthenes. // Generate primes up to 100 using channels, checking the results. // This sieve is Eratosthenesque and only considers odd candidates. // See discussion at <http://blog.onideas.ws/eratosthenes.go>. package main import ( "container/heap"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:44:02 UTC 2012 - 3.9K bytes - Viewed (0) -
src/net/http/mapping_test.go
"go_faq.html", "go_mem.html", "go_spec.html", "help.html", "ie.css", "install-source.html", "install.html", "logo-153x55.png", "Makefile", "root.html", "share.png", "sieve.gif", "tos.html", "articles", } if len(children) != 32 { panic("bad len") } for _, n := range []int{2, 4, 8, 16, 32} { list := children[:n]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 17:47:07 UTC 2023 - 2.9K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} // wildcard match for _, vh := range rc.VirtualHosts { for _, d := range vh.Domains { if d == "*" { return vh } } } return nil } // Follow the 8 step Sieve as in // https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener_components.proto.html#config-listener-v3-filterchainmatch // The implementation may initially be confusing because of a property of the
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/extractor.xml
"application/set-registration", "application/set-registration-initiation", "application/sgml", "application/sgml-open-catalog", "application/shf+xml", "application/sieve", "application/simple-filter+xml", "application/simple-message-summary", "application/simplesymbolcontainer", "application/slate", "application/smil+xml", "application/soap+fastinfoset",
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Sat Aug 01 21:40:30 UTC 2020 - 49K bytes - Viewed (0) -
doc/go1.17_spec.html
} } } // The prime sieve: Daisy-chain filter processes together. func sieve() { ch := make(chan int) // Create a new channel. go generate(ch) // Start generate() as a subprocess. for { prime := <-ch fmt.Print(prime, "\n") ch1 := make(chan int) go filter(ch, ch1, prime) ch = ch1 } } func main() { sieve() } </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
} } } // The prime sieve: Daisy-chain filter processes together. func sieve() { ch := make(chan int) // Create a new channel. go generate(ch) // Start generate() as a subprocess. for { prime := <-ch fmt.Print(prime, "\n") ch1 := make(chan int) go filter(ch, ch1, prime) ch = ch1 } } func main() { sieve() } </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
<mime-type type="application/sgml"/> <mime-type type="application/sgml-open-catalog"/> <mime-type type="application/shf+xml"> <glob pattern="*.shf"/> </mime-type> <mime-type type="application/sieve"/> <mime-type type="application/simple-filter+xml"/> <mime-type type="application/simple-message-summary"/> <mime-type type="application/simplesymbolcontainer"/> <mime-type type="application/slate"/>
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Sep 21 06:46:43 UTC 2023 - 298.5K bytes - Viewed (0)