Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for leftmost (0.17 sec)

  1. test/chan/goroutines.go

    		n, err = strconv.Atoi(os.Args[1])
    		if err != nil {
    			print("bad arg\n")
    			os.Exit(1)
    		}
    	}
    	leftmost := make(chan int)
    	right := leftmost
    	left := leftmost
    	for i := 0; i < n; i++ {
    		right = make(chan int)
    		go f(left, right)
    		left = right
    	}
    	go func(c chan int) { c <- 1 }(right)
    	<-leftmost
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 743 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/teststdio/testdata/chain.go

    		stdio.Stdout.WriteString(strconv.Itoa(v) + "\n")
    		left <- 1 + v
    	}
    }
    
    func main() {
    	leftmost := make(chan int)
    	var left chan int
    	right := leftmost
    	for i := 0; i < N; i++ {
    		left, right = right, make(chan int)
    		go link(left, right)
    	}
    	for i := 0; i < R; i++ {
    		right <- 0
    		x := <-leftmost
    		stdio.Stdout.WriteString(strconv.Itoa(x) + "\n")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 914 bytes
    - Viewed (0)
  3. src/internal/cpu/cpu_s390x.go

    package cpu
    
    const CacheLinePadSize = 256
    
    var HWCap uint
    
    // bitIsSet reports whether the bit at index is set. The bit index
    // is in big endian order, so bit index 0 is the leftmost bit.
    func bitIsSet(bits []uint64, index uint) bool {
    	return bits[index/64]&((1<<63)>>(index%64)) != 0
    }
    
    // function is the function code for the named function.
    type function uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 17:11:03 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  4. src/internal/bytealg/index_s390x.s

    	VCEQH	V1, V2, V5         // compare even indices
    	VCEQH	V1, V4, V6         // compare odd indices
    	VSEL	V5, V6, V31, V7    // merge even and odd indices
    	VFEEBS	V16, V7, V17       // find leftmost index, set condition to 1 if found
    	BLT	foundV17
    	MOVD	$16(R7), R7        // R7+=16
    	ADD	$15, R7, R9
    	CMPBLE	R9, R2, index2loop // continue if (R7+15) <= R2 (last index to search)
    	CMPBLE	R7, R2, index2to16
    	BR	notfound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 04 19:49:44 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_s390x.go

    		{Name: "vx", Feature: &S390X.HasVX},
    		{Name: "vxe", Feature: &S390X.HasVXE},
    	}
    }
    
    // bitIsSet reports whether the bit at index is set. The bit index
    // is in big endian order, so bit index 0 is the leftmost bit.
    func bitIsSet(bits []uint64, index uint) bool {
    	return bits[index/64]&((1<<63)>>(index%64)) != 0
    }
    
    // facility is a bit index for the named facility.
    type facility uint8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_s390x.s

    	//    2. T2(x) = floor( T1(x) / x^32 ) GF2MUL P(x)
    	//    3. C(x)  = R(x) XOR T2(x) mod x^32
    	//
    	// Note: To compensate the division by x^32, use the vector unpack
    	// instruction to move the leftmost word into the leftmost doubleword
    	// of the vector register.  The rightmost doubleword is multiplied
    	// with zero to not contribute to the intermediate results.
    
    
    	// T1(x) = floor( R(x) / x^32 ) GF2MUL u
    	VUPLLF  V1, V2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 00:49:17 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

       */
      private fun assertWildcardRule(rule: String) {
        check(rule.startsWith(WILDCARD_CHAR)) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/regexp/backtrack.go

    					freeBitState(b)
    					return nil
    				}
    				pos += advance
    			}
    
    			if len(b.cap) > 0 {
    				b.cap[0] = pos
    			}
    			if re.tryBacktrack(b, i, uint32(re.prog.Start), pos) {
    				// Match must be leftmost; done.
    				goto Match
    			}
    			_, width = i.step(pos)
    		}
    		freeBitState(b)
    		return nil
    	}
    
    Match:
    	dstCap = append(dstCap, b.matchcap...)
    	freeBitState(b)
    	return dstCap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. src/net/addrselect.go

    		return scopeSiteLocal
    	}
    	return scopeGlobal
    }
    
    // commonPrefixLen reports the length of the longest prefix (looking
    // at the most significant, or leftmost, bits) that the
    // two addresses have in common, up to the length of a's prefix (i.e.,
    // the portion of the address not including the interface ID).
    //
    // If a or b is an IPv4 address as an IPv6 address, the IPv4 addresses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top