Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 167 for parseList (0.28 sec)

  1. src/crypto/internal/mlkem768/mlkem768_test.go

    	// FloatString rounds halves away from 0, and our result should always be positive,
    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    	// If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
    	return uint16(rounded % (1 << d))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/database/sql/convert.go

    		if src == nil {
    			return fmt.Errorf("converting NULL to %s is unsupported", dv.Kind())
    		}
    		s := asString(src)
    		u64, err := strconv.ParseUint(s, 10, dv.Type().Bits())
    		if err != nil {
    			err = strconvErr(err)
    			return fmt.Errorf("converting driver.Value type %T (%q) to a %s: %v", src, s, dv.Kind(), err)
    		}
    		dv.SetUint(u64)
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    	case selection.DoesNotExist:
    		return !ls.Has(r.key)
    	case selection.GreaterThan, selection.LessThan:
    		if !ls.Has(r.key) {
    			return false
    		}
    		lsValue, err := strconv.ParseInt(ls.Get(r.key), 10, 64)
    		if err != nil {
    			klog.V(10).Infof("ParseInt failed for value %+v in label %+v, %+v", ls.Get(r.key), ls, err)
    			return false
    		}
    
    		// There should be only one strValue in r.strValues, and can be converted to an integer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/security.js

    c){if(b.length>=c[e][0]&&b.length<=c[e][1])return h=!0,!1}else a.formUtils.warn('Use of unknown credit card "'+e+'"',!0)}),!h)return!1}if(""!==b.replace(new RegExp("[0-9]","g"),""))return!1;var i=0;return a.each(b.split("").reverse(),function(a,b){b=parseInt(b,10),a%2===0?i+=b:(b*=2,i+=b<10?b:b-9)}),i%10===0},errorMessage:"",errorMessageKey:"badCreditCard"}),a.formUtils.addValidator({name:"cvv",validatorFunction:function(a){return""===a.replace(/[0-9]/g,"")&&(a+="",d?4===a.length:e?3===a.length||4==...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
                Integer.parseInt(System.getProperty("http.maxRedirects", "20"));
    
        private static final int LM_COMPATIBILITY =
                Config.getInt("jcifs.smb1.smb.lmCompatibility", 0);
    
        private static final String DEFAULT_DOMAIN;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Parses the specified string as a signed decimal integer value. The ASCII character {@code '-'}
       * (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@code null} if non-ASCII digits are present in the string.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            List<Map<String, Object>> docs = JsonPath.from(response).getList("data");
            int prevVal = 0;
            for (Map<String, Object> doc : docs) {
                int sortValue = Integer.parseInt(doc.get(sortField).toString());
                assertTrue(sortValue >= prevVal);
                prevVal = sortValue;
            }
        }
    
        @Test
        public void searchTestWithWildcard() throws Exception {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/mime/multipart/multipart_test.go

    			"Content-Type":        {"text/plain; charset=ISO-8859-1"},
    			"Content-Disposition": {"form-data; name=" + key},
    		},
    		value,
    	}
    }
    
    type parseTest struct {
    	name    string
    	in, sep string
    	want    []headerBody
    }
    
    var parseTests = []parseTest{
    	// Actual body from App Engine on a blob upload. The final part (the
    	// Content-Type: message/external-body) is what App Engine replaces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Parses the specified string as a signed decimal integer value. The ASCII character {@code '-'}
       * (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@code null} if non-ASCII digits are present in the string.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value
       * @throws NullPointerException if {@code s} is null (in contrast to {@link
       *     Integer#parseInt(String)})
       */
      @CanIgnoreReturnValue
      public static int parseUnsignedInt(String s) {
        return parseUnsignedInt(s, 10);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top