Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Brown (0.02 sec)

  1. src/bytes/bytes_test.go

    				for i := 0; i < b.N; i++ {
    					Trim(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimByte(b *testing.B) {
    	x := []byte("  the quick brown fox   ")
    	for i := 0; i < b.N; i++ {
    		Trim(x, " ")
    	}
    }
    
    func BenchmarkIndexPeriodic(b *testing.B) {
    	key := []byte{1, 1}
    	for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
                       {"the", "quick", "brown", "fox", "jumped", "over"});
    
      string big(1000, 'a');
      TestEncodeDecode(__LINE__, {"small", big, "small2"});
    }
    
    TEST(CAPI, SessionOptions) {
      TF_SessionOptions* opt = TF_NewSessionOptions();
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. api/except.txt

    pkg syscall (openbsd-386), type Dirent struct, Fileno uint32
    pkg syscall (openbsd-386), type FdSet struct, Bits [32]int32
    pkg syscall (openbsd-386), type Kevent_t struct, Data int32
    pkg syscall (openbsd-386), type Mclpool struct, Grown uint32
    pkg syscall (openbsd-386), type RtMetrics struct, Expire uint32
    pkg syscall (openbsd-386), type Stat_t struct, Ino uint32
    pkg syscall (openbsd-386), type Stat_t struct, Lspare0 int32
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Sun Jun 16 23:08:08 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    	return nil
    }
    
    // WriteRune appends the UTF-8 encoding of Unicode code point r to the
    // buffer, returning its length and an error, which is always nil but is
    // included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed;
    // if it becomes too large, WriteRune will panic with [ErrTooLarge].
    func (b *Buffer) WriteRune(r rune) (n int, err error) {
    	// Compare as uint32 to correctly handle negative runes.
    	if uint32(r) < utf8.RuneSelf {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    func (r panicReader) Read(p []byte) (int, error) {
    	if r.panic {
    		panic("oops")
    	}
    	return 0, io.EOF
    }
    
    // Make sure that an empty Buffer remains empty when
    // it is "grown" before a Read that panics
    func TestReadFromPanicReader(t *testing.T) {
    
    	// First verify non-panic behaviour
    	var buf Buffer
    	i, err := buf.ReadFrom(panicReader{})
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top