Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 460 for FILL (0.11 sec)

  1. src/bufio/bufio.go

    }
    
    var errNegativeRead = errors.New("bufio: reader returned negative count from Read")
    
    // fill reads a new chunk into the buffer.
    func (b *Reader) fill() {
    	// Slide existing data to beginning.
    	if b.r > 0 {
    		copy(b.buf, b.buf[b.r:b.w])
    		b.w -= b.r
    		b.r = 0
    	}
    
    	if b.w >= len(b.buf) {
    		panic("bufio: tried to fill full buffer")
    	}
    
    	// Read new data: try a limited number of times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue32288.go

    }
    
    func main() {
    	defer func() {
    		useStack(100) // force a stack copy
    		// We're expecting a panic.
    		// The bug in this issue causes a throw, which this recover() will not squash.
    		recover()
    	}()
    	junk() // fill the stack with invalid pointers
    	f(nil, nil)
    }
    
    func useStack(n int) {
    	if n == 0 {
    		return
    	}
    	useStack(n - 1)
    }
    
    //go:noinline
    func junk() uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 21:52:17 UTC 2019
    - 809 bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/templates/productpage.html

                  {% for n in range(review.rating.stars) %}
                  <svg id="glyphicon glyphicon-star" class="h-5 w-5 flex-none" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. test/fixedbugs/issue62203.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"maps"
    )
    
    func main() {
    	m := map[string]struct{}{}
    
    	// Fill m up to the max for 4 buckets = 48 entries.
    	for i := 0; i < 48; i++ {
    		m[fmt.Sprintf("%d", i)] = struct{}{}
    	}
    
    	// Add a 49th entry, to start a grow to 8 buckets.
    	m["foo"] = struct{}{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:10:03 UTC 2023
    - 688 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/unfold-large-splat-constant.mlir

      // CHECK-DAG: %cst_0 = arith.constant dense<1000> : tensor<2xi64>
      // CHECK-DAG: %cst_1 = arith.constant dense<1.000000e+00> : tensor<f32>
      // CHECK: %0 = "tfl.fill"(%cst_0, %cst_1) : (tensor<2xi64>, tensor<f32>) -> tensor<1000x1000xf32>
      // CHECK: return %cst, %0 : tensor<10x10xf32>, tensor<1000x1000xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 26 23:53:32 UTC 2022
    - 781 bytes
    - Viewed (0)
  6. src/compress/flate/deflate.go

    		d.window = make([]byte, maxStoreBlockSize)
    		d.fill = (*compressor).fillStore
    		d.step = (*compressor).store
    	case level == HuffmanOnly:
    		d.window = make([]byte, maxStoreBlockSize)
    		d.fill = (*compressor).fillStore
    		d.step = (*compressor).storeHuff
    	case level == BestSpeed:
    		d.compressionLevel = levels[level]
    		d.window = make([]byte, maxStoreBlockSize)
    		d.fill = (*compressor).fillStore
    		d.step = (*compressor).encSpeed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/source.go

    	if s.ch == BOM {
    		if s.line > 0 || s.col > 0 {
    			s.error("invalid BOM in the middle of the file")
    		}
    		goto redo
    	}
    }
    
    // fill reads more source bytes into s.buf.
    // It returns with at least one more byte in the buffer, or with s.ioerr != nil.
    func (s *source) fill() {
    	// determine content to preserve
    	b := s.r
    	if s.b >= 0 {
    		b = s.b
    		s.b = 0 // after buffer has grown or content has been moved down
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 19:25:46 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        }
      }
    
      @Test fun readPaddedDataFrame() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
        val paddingLength = 254
        val padding = ByteArray(paddingLength)
        Arrays.fill(padding, 0.toByte())
        writeMedium(frame, dataLength + paddingLength + 1)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_PADDED)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/function_metadata.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_SAVED_MODEL_CORE_FUNCTION_METADATA_H_
    #define TENSORFLOW_C_EXPERIMENTAL_SAVED_MODEL_CORE_FUNCTION_METADATA_H_
    
    namespace tensorflow {
    
    class FunctionMetadata {
      // TODO(bmzhao): Fill in with fields as necessary
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 1023 bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

          return new int[buckets];
        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
        }
      }
    
      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
Back to top