Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 122 for lineFor (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
        return Helpers.mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    // CHECK-LABEL: testResourceApplyFtrl
    func.func @testResourceApplyFtrl(%var: tensor<*x!tf_type.resource>, %accum: tensor<*x!tf_type.resource>, %linear: tensor<*x!tf_type.resource>, %grad: tensor<*xf32>, %lr: tensor<*xf32>, %l1: tensor<*xf32>, %l2: tensor<*xf32>, %lr_power: tensor<*xf32>) -> () {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		}
    		flat, cum := n.FlatValue(), n.CumValue()
    		l := &profile.Location{
    			ID:      uint64(i + 1),
    			Address: n.Info.Address,
    			Line: []profile.Line{
    				{
    					Line:     int64(n.Info.Lineno),
    					Column:   int64(n.Info.Columnno),
    					Function: f,
    				},
    			},
    		}
    
    		fv, _ := measurement.Scale(flat, o.SampleUnit, o.OutputUnit)
    		cv, _ := measurement.Scale(cum, o.SampleUnit, o.OutputUnit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    			// No UTF-8 or non-ASCII allowed in tokens.
    			return false
    		}
    		if lowerASCII(byte(b)) != lowerASCII(t2[i]) {
    			return false
    		}
    	}
    	return true
    }
    
    // isLWS reports whether b is linear white space, according
    // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
    //
    //	LWS            = [CRLF] 1*( SP | HT )
    func isLWS(b byte) bool { return b == ' ' || b == '\t' }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    // readGoSum parses data, which is the content of file,
    // and adds it to goSum.m. The goSum lock must be held.
    func readGoSum(dst map[module.Version][]string, file string, data []byte) {
    	lineno := 0
    	for len(data) > 0 {
    		var line []byte
    		lineno++
    		i := bytes.IndexByte(data, '\n')
    		if i < 0 {
    			line, data = data, nil
    		} else {
    			line, data = data[:i], data[i+1:]
    		}
    		f := strings.Fields(string(line))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/compress/lzw/writer.go

    	// will make any future Write calls return errClosed
    	err error
    	// table is the hash table from 20-bit keys to 12-bit values. Each table
    	// entry contains key<<12|val and collisions resolve by linear probing.
    	// The keys consist of a 12-bit code prefix and an 8-bit byte suffix.
    	// The values are a 12-bit code.
    	table [tableSize]uint32
    }
    
    // writeLSB writes the code c for "Least Significant Bits first" data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top