Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for auxint (0.13 sec)

  1. pkg/webhooks/validation/controller/controller.go

    	}
    
    	c.queue = controllers.NewQueue("validation",
    		controllers.WithReconciler(c.Reconcile),
    		// Webhook patching has to be retried forever. But the retries would be rate limited.
    		controllers.WithMaxAttempts(math.MaxInt),
    		// Retry with backoff. Failures could be from conflicts of other instances (quick retry helps), or
    		// longer lasting concerns which will eventually be retried on 1min interval.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/objfile.go

    }
    
    // AuxOff returns the offset of the j-th aux symbol of the i-th symbol.
    func (r *Reader) AuxOff(i uint32, j int) uint32 {
    	auxIdxOff := r.h.Offsets[BlkAuxIdx] + i*4
    	auxIdx := r.uint32At(auxIdxOff)
    	return r.h.Offsets[BlkAux] + (auxIdx+uint32(j))*uint32(AuxSize)
    }
    
    // Aux returns a pointer to the j-th aux symbol of the i-th symbol.
    func (r *Reader) Aux(i uint32, j int) *Aux {
    	off := r.AuxOff(i, j)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    			}
    		}
    	}
    
    	const maxInt = int(^uint(0) >> 1)
    
    	runTestCases("", []testCase{
    		0: {"--", -2147483647, "negative"},
    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          filter_i8_value_attr =
              mlir::cast<DenseFPElementsAttr>(filter_value)
                  .mapValues(rewriter.getI8Type(), [](const APFloat& val) -> APInt {
                    APSInt convertedInt(/*BitWidth=*/8, /*isUnsigned=*/false);
                    bool ignored;
                    val.convertToInteger(convertedInt, APFloat::rmTowardZero,
                                         &ignored);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser.go

    	return &l.buckets[a][b]
    }
    
    func (l *Events) index(i int) (int, int) {
    	// Doing the division on uint instead of int compiles this function to a
    	// shift and an AND (for power of 2 bucket sizes), versus a whole bunch of
    	// instructions for int.
    	return int(uint(i) / eventsBucketSize), int(uint(i) % eventsBucketSize)
    }
    
    func (l *Events) Len() int {
    	return l.n - l.off
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. docs/en/data/people.yml

      avatarUrl: https://avatars.githubusercontent.com/u/52145145?u=f8c9e5c8c259d248e1683fedf5027b4ee08a0967&v=4
      url: https://github.com/wu-clan
    - login: abhint
      count: 5
      avatarUrl: https://avatars.githubusercontent.com/u/25699289?u=b5d219277b4d001ac26fb8be357fddd88c29d51b&v=4
      url: https://github.com/abhint
    - login: anthonycepeda
      count: 4
      avatarUrl: https://avatars.githubusercontent.com/u/72019805?u=60bdf46240cff8fca482ff0fc07d963fd5e1a27c&v=4
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:09:53 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    								if sdat, err := sect.Data(); err == nil {
    									data := sdat[s.Value-sect.Addr:]
    									strlen := bo.Uint64(data[:8])
    									if strlen > (1<<(uint(p.IntSize*8)-1) - 1) { // greater than MaxInt?
    										fatalf("string literal too big")
    									}
    									strlens[n] = int(strlen)
    								}
    							}
    						}
    						break
    					}
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetsTest.java

        out[0] = b;
        System.arraycopy(array, 0, out, 1, array.length);
        return out;
      }
    
      @GwtIncompatible // java.nio.ByteBuffer
      private static byte[] toByteArray(int h) {
        return ByteBuffer.allocate(4).putInt(h).array();
      }
    
      public void testNewEnumSet_empty() {
        EnumSet<SomeEnum> copy = newEnumSet(Collections.<SomeEnum>emptySet(), SomeEnum.class);
        assertEquals(EnumSet.noneOf(SomeEnum.class), copy);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    		},
    		{
    			name: "integer overflow bounds check",
    			schema: []*apiextensions.JSONSchemaProps{
    				withMaxItems(genArraySchema(), int64ptr(math.MaxInt)),
    				withMaxItems(genArraySchema(), int64ptr(100)),
    			},
    			expectedMaxCardinality: uint64ptr(math.MaxUint),
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// simulate the recursive validation calls
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top