Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,194 for loser (0.09 sec)

  1. src/math/big/calibrate_test.go

    }
    
    func computeSqrThreshold(from, to, step, nruns int, lower, upper string) int {
    	fmt.Printf("Calibrating threshold between %s and %s\n", lower, upper)
    	fmt.Printf("Looking for a timing difference for x between %d - %d words by %d step\n", from, to, step)
    	var initPos bool
    	var threshold int
    	for i := from; i <= to; i += step {
    		baseline := measureSqr(i, nruns, lower)
    		testval := measureSqr(i, nruns, upper)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/bidi/bracket.go

    	p.codesIsolatedRun[loc.opener] = dirPair
    	p.codesIsolatedRun[loc.closer] = dirPair
    
    	for i := loc.opener + 1; i < loc.closer; i++ {
    		index := p.indexes[i]
    		if initialTypes[index] != NSM {
    			break
    		}
    		p.codesIsolatedRun[i] = dirPair
    	}
    
    	for i := loc.closer + 1; i < len(p.indexes); i++ {
    		index := p.indexes[i]
    		if initialTypes[index] != NSM {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			name:        "dns1123Label",
    			expr:        `format.dns1123Label().validate("contains a space")`,
    			expectValue: types.OptionalOf(types.NewStringList(types.DefaultTypeAdapter, []string{"a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')"})),
    		},
    		{
    			name:        "dns1123Subdomain",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/crypto/cipher/io.go

    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Close closes the underlying Writer and returns its Close return value, if the Writer
    // is also an io.Closer. Otherwise it returns nil.
    func (w StreamWriter) Close() error {
    	if c, ok := w.W.(io.Closer); ok {
    		return c.Close()
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. internal/lock/lock.go

    	return r.refs == 0
    }
    
    // IncLockRef - is used by called to indicate lock refs.
    func (r *RLockedFile) IncLockRef() {
    	r.mutex.Lock()
    	r.refs++
    	r.mutex.Unlock()
    }
    
    // Close - this closer implements a special closer
    // closes the underlying fd only when the refs
    // reach zero.
    func (r *RLockedFile) Close() (err error) {
    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/unicode/letter_test.go

    			t.Errorf("ToLower(U+%04X) disagrees with To(Lower)", i)
    		}
    		if To(TitleCase, i) != ToTitle(i) {
    			t.Errorf("ToTitle(U+%04X) disagrees with To(Title)", i)
    		}
    	}
    }
    
    func TestTurkishCase(t *testing.T) {
    	lower := []rune("abcçdefgğhıijklmnoöprsştuüvyz")
    	upper := []rune("ABCÇDEFGĞHIİJKLMNOÖPRSŞTUÜVYZ")
    	for i, l := range lower {
    		u := upper[i]
    		if TurkishCase.ToLower(l) != l {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    				continue
    			}
    		}
    	}()
    
    	return objs, nil
    }
    
    // Close and release resources.
    func (w *metacacheWriter) Close() error {
    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    // Reset and start writing to new writer.
    // Close must have been called before this.
    func (w *metacacheWriter) Reset(out io.Writer) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. src/net/listen_test.go

    			}
    			if err := checkMulticastListener(cs[0], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if cs[1], err = ListenMulticastUDP(tt.net, ifi, tt.gaddr); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if err := checkMulticastListener(cs[1], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			closer(cs)
    		}
    	}
    }
    
    var ipv6MulticastListenerTests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. cmd/bitrot-streaming.go

    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(struct {
    			io.Reader
    			io.Closer
    		}{
    			Reader: b.rc,
    			Closer: closeWrapper(func() error { return nil }),
    		})
    		return closer.Close()
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/common/help.jsp

    		between the lower and upper bound specified by the Range Query. Range
    		Queries can be inclusive or exclusive of the upper and lower bounds.
    		If you want to find documents whose content_length fields have values
    		between 1000 and 10000, inclusive, you can enter:
    		<pre>content_length:[1000 TO 10000]</pre>
    		If you want to exclude the upper and lower bounds, use "{}".
    	</dd>
    	<dt>Boost</dt>
    	<dd>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Feb 26 14:01:31 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top