Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for addRune (0.72 seconds)

  1. internal/s3select/jstream/scratch.go

    func (s *scratch) add(c byte) {
    	if s.fill+1 >= cap(s.data) {
    		s.grow()
    	}
    
    	s.data[s.fill] = c
    	s.fill++
    }
    
    // append encoded rune to scratch buffer
    func (s *scratch) addRune(r rune) int {
    	if s.fill+utf8.UTFMax >= cap(s.data) {
    		s.grow()
    	}
    
    	n := utf8.EncodeRune(s.data[s.fill:], r)
    	s.fill += n
    	return n
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 758 bytes
    - Click Count (0)
  2. internal/s3select/jstream/decoder.go

    	c = d.next()
    	if !utf16.IsSurrogate(r) || c != '\\' {
    		d.scratch.addRune(r)
    		goto scan
    	}
    	if c = d.next(); c != 'u' {
    		d.scratch.addRune(r)
    		goto scan_esc
    	}
    
    	r2 := d.u4()
    	if r2 < 0 {
    		return "", d.mkError(ErrSyntax, "in unicode escape sequence")
    	}
    
    	// write surrogate pair
    	d.scratch.addRune(utf16.DecodeRune(r, r2))
    	c = d.next()
    	goto scan
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        addRule(IncubatingInternalInterfaceAddedRule, publicApiRuleParams)
                        addRule(MethodsRemovedInInternalSuperClassRule, publicApiRuleParams)
                        addRule(BinaryBreakingSuperclassChangeRule, publicApiRuleParams)
    
                        addRule(BinaryBreakingChangesRule, ruleParams)
                        addRule(NullabilityBreakingChangesRule, ruleParams)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          ImmutableLongArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo((long) j);
          }
        }
      }
    
      private enum BuilderOp {
        ADD_ONE {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          ImmutableDoubleArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo((double) j);
          }
        }
      }
    
      private enum BuilderOp {
        ADD_ONE {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          ImmutableLongArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo((long) j);
          }
        }
      }
    
      private enum BuilderOp {
        ADD_ONE {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. cmd/erasure-server-pool.go

    		loi.NextMarker = opts.encodeMarker(last.Name)
    		loi.NextVersionIDMarker = last.VersionID
    	}
    	return loi, nil
    }
    
    func maxKeysPlusOne(maxKeys int, addOne bool) int {
    	if maxKeys < 0 || maxKeys > maxObjectList {
    		maxKeys = maxObjectList
    	}
    	if addOne {
    		maxKeys++
    	}
    	return maxKeys
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  8. cmd/site-replication.go

    				} else {
    					replicationConfig = replication.Config{}
    				}
    				if err == nil {
    					err = replicationConfig.AddRule(opts)
    				}
    			} else {
    				err = replicationConfig.EditRule(opts)
    			}
    		default:
    			err = replicationConfig.AddRule(opts)
    		}
    		if err != nil {
    			return c.annotatePeerErr(peer.Name, "Error adding bucket replication rule", err)
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    t.Run(fmt.Sprintf("line %d", lineNum), func(t *testing.T) { if A == "0" || B == "0" { t.Skip("skipping test with zero input") } if LCM == "1" { t.Skip("skipping test with LCM=1") } p, _ := bigmod.NewModulus(addOne(decodeHex(t, A))) a, _ := bigmod.NewNat().SetBytes(decodeHex(t, A), p) q, _ := bigmod.NewModulus(addOne(decodeHex(t, B))) b, _ := bigmod.NewNat().SetBytes(decodeHex(t, B), q) gcd, err := bigmod.NewNat().GCDVarTime(a, b) // GCD doesn't work if a and b are both even, but LCM handles it. if err == nil...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. lib/fips140/v1.1.0-rc1.zip

    t.Run(fmt.Sprintf("line %d", lineNum), func(t *testing.T) { if A == "0" || B == "0" { t.Skip("skipping test with zero input") } if LCM == "1" { t.Skip("skipping test with LCM=1") } p, _ := bigmod.NewModulus(addOne(decodeHex(t, A))) a, _ := bigmod.NewNat().SetBytes(decodeHex(t, A), p) q, _ := bigmod.NewModulus(addOne(decodeHex(t, B))) b, _ := bigmod.NewNat().SetBytes(decodeHex(t, B), q) gcd, err := bigmod.NewNat().GCDVarTime(a, b) // GCD doesn't work if a and b are both even, but LCM handles it. if err == nil...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top