Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 782 for parsePI (0.06 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                    .toSortedMap()
                val latests = buildList {
                    versionsByMinor.entries.forEachIndexed { idx, entry ->
                        val versionsOfMinor = entry.value.sortedByDescending { VersionNumber.parse(it) }
                        if (idx < versionsByMinor.size - 1) {
                            // Latest of the previous minor
                            add(versionsOfMinor.first())
                        } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    			return true
    		}
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 03 06:45:06 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  3. internal/s3select/sql/jsonpath_test.go

    	}
    	for i, tc := range cases {
    		t.Run(tc.str, func(t *testing.T) {
    			jp := JSONPath{}
    			err := p.ParseString(tc.str, &jp)
    			// fmt.Println(jp)
    			if err != nil {
    				t.Fatalf("parse failed!: %d %v %s", i, err, tc)
    			}
    
    			// Read only the first json object from the file
    			recs, err := getJSONStructs(b)
    			if err != nil || len(recs) != 3 {
    				t.Fatalf("%v or length was not 3", err)
    			}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Java, query: JavaSourceQuery<T>): T =
            openJavaCompilationUnitsByFile
                .computeIfAbsent(apiSourceFile.currentFile) { JavaParser().parse(it).getResult().get() }
                .accept(query.visitor, null)
                ?: query.defaultValue
    
    
        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                } catch (final NumberFormatException e) {
                    if (logger.isDebugEnabled()) {
                        logger.warn("Failed to parse max_access_count: '{}'. Expected: integer value", maxAccessCount, e);
                    } else {
                        logger.warn("Failed to parse max_access_count: '{}'. Expected: integer value", maxAccessCount);
                    }
                }
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  6. cmd/data-scanner_test.go

    	deleteAllLc, err := lifecycle.ParseLifecycleConfig(strings.NewReader(deleteAllILM))
    	if err != nil {
    		t.Fatalf("Failed to parse deleteAllILM test ILM policy %v", err)
    	}
    	delMarkerLc, err := lifecycle.ParseLifecycleConfig(strings.NewReader(delMarkerILM))
    	if err != nil {
    		t.Fatalf("Failed to parse delMarkerILM test ILM policy %v", err)
    	}
    	tests := []struct {
    		ilm       lifecycle.Lifecycle
    		retention *objectlock.Retention
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. cmd/utils.go

    			return http.ErrUseLastResponse
    		}
    		return nil
    	}
    
    	dexClient := http.Client{
    		CheckRedirect: checkRedirect,
    	}
    
    	u, err := url.Parse(authCodeURL)
    	if err != nil {
    		return "", fmt.Errorf("url parse err: %v", err)
    	}
    
    	// Start the user auth flow. This page would present the login with
    	// email or LDAP option.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  8. cmd/httprange_test.go

    		rs, err := parseRequestRangeSpec(urs)
    		if err == nil {
    			t.Errorf("Case %d: Did not get an expected error - got %v", i, rs)
    		}
    		if isErrInvalidRange(err) {
    			t.Errorf("Case %d: Got invalid range error instead of a parse error", i)
    		}
    		if rs != nil {
    			t.Errorf("Case %d: Got non-nil rs though err != nil: %v", i, rs)
    		}
    	}
    
    	invalidRangeSpecs := []string{
    		"bytes=5-3",
    		"bytes=10-10",
    		"bytes=10-",
    		"bytes=100-",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. build-logic-commons/build-platform/build.gradle.kts

    // It can be removed or changed to 4/5 logic (if necessary) at that point.
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.6.0-groovy-4.0" else "3.6.0"
    val spockVersion = if (isGroovy4) "2.3-groovy-4.0" else "2.3-groovy-3.0"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:16:30 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/MIEName.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.util.Objects;
    
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    
    /**
     * This class is used to parse the name of context initiator and
     * context acceptor which are retrieved from GSSContext.
     *
     * @author Shun
     *
     */
    class MIEName {
    
        private static byte[] TOK_ID = { 04, 01 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top