Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for panics (0.03 sec)

  1. src/bytes/bytes.go

    //
    // It panics if count is negative or if the result of (len(b) * count)
    // overflows.
    func Repeat(b []byte, count int) []byte {
    	if count == 0 {
    		return []byte{}
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	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.
    	for i := maxConsecutiveEmptyReads; i > 0; i-- {
    		n, err := b.rd.Read(b.buf[b.w:])
    		if n < 0 {
    			panic(errNegativeRead)
    		}
    		b.w += n
    		if err != nil {
    			b.err = err
    			return
    		}
    		if n > 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. doc/godebug.md

    The [GODEBUG History](#history) gives the exact defaults for each Go toolchain version.
    For example, Go 1.21 introduces the `panicnil` setting,
    controlling whether `panic(nil)` is allowed;
    it defaults to `panicnil=0`, making `panic(nil)` a run-time error.
    Using `panicnil=1` restores the behavior of Go 1.20 and earlier.
    
    When compiling a work module or workspace that declares
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

        public static final String URL = "url";
    
        /** File passwords key for metadata */
        public static final String FILE_PASSWORDS = "file.passwords";
    
        /** Map containing metadata key-value pairs */
        protected Map<String, String[]> metadata = new HashMap<>();
    
        /** The extracted content text */
        protected String content;
    
        /**
         * Constructs a new ExtractData.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. doc/go_mem.html

    If <code>list</code> pointed to a cyclic list,
    then the original program would never access <code>*p</code> or <code>*q</code>,
    but the rewritten program would.
    (Moving `*p` ahead would be safe if the compiler can prove `*p` will not panic;
    moving `*q` ahead would also require the compiler proving that no other
    goroutine can access `*q`.)
    </p>
    
    <p>
    Not introducing data races also means not assuming that called functions
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val durations: List<Map<String, Any>> = objectMapper.readValue(performanceTestDurationsJson)
            val pairs =
                durations.flatMap { scenarioDurations ->
                    val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. .github/CODEOWNERS

    gradle/shared-with-buildSrc/                @gradle/bt-developer-productivity
    packaging/internal-build-reports/           @gradle/bt-developer-productivity
    testing/distributions-basics/               @gradle/bt-developer-productivity
    testing/distributions-core/                 @gradle/bt-developer-productivity
    testing/internal-architecture-testing/      @gradle/bt-developer-productivity
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Jul 28 01:45:03 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
        }
    
        /**
         * Gets the child URL extraction rules as a stream of tag-attribute pairs.
         *
         * @param responseData the response data
         * @param resultData the result data
         * @return a stream of tag-attribute pairs
         */
        protected Stream<Pair<String, String>> getChildUrlRules(final ResponseData responseData, final ResultData resultData) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. RELEASE.md

    *   `tf.experimental.StructuredTensor`
    
        *   Introduced `tf.experimental.StructuredTensor`, which provides a flexible
            and Tensorflow-native way to encode structured data such as protocol
            buffers or pandas dataframes.
    
    *   `tf.keras`:
    
        *   Added method `get_metrics_result()` to `tf.keras.models.Model`.
            *   Returns the current metrics values of the model as a dict.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (3)
Back to top