Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 166 for lineFor (0.13 sec)

  1. docs/bucket/replication/setup_2site_existing_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/html.go

    				sl := strings.Split(l, ":")
    				if len(sl) >= 3 {
    					if _, err := strconv.Atoi(sl[len(sl)-2]); err == nil {
    						lineNo = sl[len(sl)-2]
    					}
    				}
    				escaped = html.EscapeString(l)
    			}
    		}
    		if lineNo != "" {
    			fmt.Fprintf(&out, "<div class=\"l%v line-number ast\">%v</div>", lineNo, escaped)
    		} else {
    			fmt.Fprintf(&out, "<div class=\"ast\">%v</div>", escaped)
    		}
    	}
    	fmt.Fprint(&out, "</div>")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. src/index/suffixarray/sais.go

    //   is widened to a full integer array.)
    
    // The overall runtime of this code is linear in the input size:
    // it runs a sequence of linear passes to reduce the problem to
    // a subproblem at most half as big, invokes itself recursively,
    // and then runs a sequence of linear passes to turn the answer
    // for the subproblem into the answer for the original problem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. src/unicode/utf16/utf16_test.go

    	// from https://en.wikipedia.org/wiki/UTF-16
    	{'\u007A', false},     // LATIN SMALL LETTER Z
    	{'\u6C34', false},     // CJK UNIFIED IDEOGRAPH-6C34 (water)
    	{'\uFEFF', false},     // Byte Order Mark
    	{'\U00010000', false}, // LINEAR B SYLLABLE B008 A (first non-BMP code point)
    	{'\U0001D11E', false}, // MUSICAL SYMBOL G CLEF
    	{'\U0010FFFD', false}, // PRIVATE USE CHARACTER-10FFFD (last Unicode code point)
    
    	{rune(0xd7ff), false}, // surr1-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/runtime/histogram.go

    	// significant set bit. Thus, buckets are power-of-2 sized.
    	// Values are then placed into sub-buckets based on the value of
    	// the next timeHistSubBucketBits most significant bits. Thus,
    	// sub-buckets are linear within a bucket.
    	//
    	// Therefore, the number of sub-buckets (timeHistNumSubBuckets)
    	// defines the error. This error may be computed as
    	// 1/timeHistNumSubBuckets*100%. For example, for 16 sub-buckets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body/test_tutorial001.py

                        "ctx": {
                            "msg": "Expecting property name enclosed in double quotes",
                            "doc": "{some broken json}",
                            "pos": 1,
                            "lineno": 1,
                            "colno": 2,
                        },
                    }
                ]
            }
        )
    
    
    def test_post_form_for_json(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body/test_tutorial001_py310.py

                        "ctx": {
                            "msg": "Expecting property name enclosed in double quotes",
                            "doc": "{some broken json}",
                            "pos": 1,
                            "lineno": 1,
                            "colno": 2,
                        },
                    }
                ]
            }
        )
    
    
    @needs_py310
    def test_post_form_for_json(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/internal/reflectlite/type.go

    	// In both cases the algorithm is a linear scan over the two
    	// lists - T's methods and V's methods - simultaneously.
    	// Since method tables are stored in a unique sorted order
    	// (alphabetical, with no duplicate method names), the scan
    	// through V's methods must hit a match for each of T's
    	// methods along the way, or else V does not implement T.
    	// This lets us run the scan in overall linear time instead of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. src/regexp/syntax/prog.go

    				if r == r1 {
    					return 0
    				}
    			}
    		}
    		return noMatch
    
    	case 2:
    		if r >= rune[0] && r <= rune[1] {
    			return 0
    		}
    		return noMatch
    
    	case 4, 6, 8:
    		// Linear search for a few pairs.
    		// Should handle ASCII well.
    		for j := 0; j < len(rune); j += 2 {
    			if r < rune[j] {
    				return noMatch
    			}
    			if r <= rune[j+1] {
    				return j / 2
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/printer_test.go

    func TestPrint(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	ast, _ := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    
    	if ast != nil {
    		Fprint(testOut(), ast, LineForm)
    		fmt.Println()
    	}
    }
    
    type shortBuffer struct {
    	buf []byte
    }
    
    func (w *shortBuffer) Write(data []byte) (n int, err error) {
    	w.buf = append(w.buf, data...)
    	n = len(data)
    	if len(w.buf) > 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 17:08:18 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top