Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 65 for Positions (0.3 sec)

  1. src/debug/elf/file_test.go

    			offset = target - int64(len(buf))
    		}
    		pos, err = sf.Seek(offset, whence)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if pos != target {
    			t.Fatalf("want position %d, got %d", target, pos)
    		}
    
    		// Read data from the new position.
    		end := pos + 16
    		if end > int64(len(buf)) {
    			end = int64(len(buf))
    		}
    		n, err := io.ReadFull(sf, buf[pos:end])
    		if err != nil {
    			t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * successful input futures. The list of results is in the same order as the input list, and if
       * any of the provided futures fails or is canceled, its corresponding position will contain
       * {@code null} (which is indistinguishable from the future having a successful value of {@code
       * null}).
       *
       * <p>The list of results is in the same order as the input list.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/obj.go

    	// Nobody wants to enter negative machine code.
    	if ins.imm < 0 || 1<<32 <= ins.imm {
    		ctxt.Diag("%v: immediate %d in raw position cannot be larger than 32 bits", ins.as, ins.imm)
    	}
    }
    
    // extractBitAndShift extracts the specified bit from the given immediate,
    // before shifting it to the requested position and returning it.
    func extractBitAndShift(imm uint32, bit, pos int) uint32 {
    	return ((imm >> bit) & 1) << pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

       * successful input futures. The list of results is in the same order as the input list, and if
       * any of the provided futures fails or is canceled, its corresponding position will contain
       * {@code null} (which is indistinguishable from the future having a successful value of {@code
       * null}).
       *
       * <p>The list of results is in the same order as the input list.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    ) (*istio.HTTPRoute, *ConfigError) {
    	// TODO: implement rewrite, timeout, corspolicy, retries
    	vs := &istio.HTTPRoute{}
    	// Auto-name the route. If upstream defines an explicit name, will use it instead
    	// The position within the route is unique
    	vs.Name = obj.Namespace + "." + obj.Name + "." + strconv.Itoa(pos) // format: %s.%s.%d
    
    	for _, match := range r.Matches {
    		uri, err := createURIMatch(match)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	/* uimm12 or uimm24? */
    	if v < 0 {
    		return false
    	}
    	if (v & 0xFFF) == 0 {
    		v >>= 12
    	}
    	return v <= 0xFFF
    }
    
    // setPos sets the position of v to pos, then returns true.
    // Useful for setting the result of a rewrite's position to
    // something other than the default.
    func setPos(v *Value, pos src.XPos) bool {
    	v.Pos = pos
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            return Iterators.forArray(1, 2, 3);
          }
        }.test();
      }
    
      /*
       * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with
       * a start position other than 0.
       */
    
      public void testForEnumerationEmpty() {
        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/load.go

    					//
    					// TODO(#41688): The resulting error message fails to include the file
    					// position of the import statement (because that information is not
    					// tracked by the module loader). Figure out how to plumb the import
    					// position through.
    					pkg.err = &DirectImportFromImplicitDependencyError{
    						ImporterPath: pkg.path,
    						ImportedPath: dep.path,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/math_grad.cc

      // if we take the calculation that gave the first gradient
      // (3 * 5 * 6)/3 is equal to 5 * 6
      // the trick will be to cumprod the elements on the axis without
      // the element at the current position (3 in the example above).
      // We will take as example:
      // [
      //   [
      //     [3.0, 4.0],
      //     [5.0, 6.0],
      //     [7.0, 8.0]
      //   ],
      //   [
      //     [3.0, 5.0],
      //     [0.0, 6.0],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  10. src/html/template/escape_test.go

    			// and regular HTML content for others.
    			`<{{"script"}}>{{"doEvil()"}}</{{"script"}}>`,
    			`&lt;script>doEvil()&lt;/script>`,
    		},
    		{
    			"srcset bad URL in second position",
    			`<img srcset="{{"/not-an-image#,javascript:alert(1)"}}">`,
    			// The second URL is also filtered.
    			`<img srcset="/not-an-image#,#ZgotmplZ">`,
    		},
    		{
    			"srcset buffer growth",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
Back to top