Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Prefixes (0.08 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

    }
    
    
    class PackagePatterns(givenPrefixes: Set<String>) {
    
        private
        val prefixes: MutableSet<String> = hashSetOf()
    
        private
        val names: MutableSet<String> = hashSetOf()
    
        init {
            givenPrefixes.map { it.replace('.', '/') }.forEach { internalName ->
                names.add(internalName)
                prefixes.add("$internalName/")
            }
        }
    
        fun matches(packageName: String): Boolean {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. internal/bucket/versioning/versioning.go

    	Suspended State = "Suspended"
    )
    
    var (
    	errExcludedPrefixNotSupported = Errorf("excluded prefixes extension supported only when versioning is enabled")
    	errTooManyExcludedPrefixes    = Errorf("too many excluded prefixes")
    )
    
    // ExcludedPrefix - holds individual prefixes excluded from being versioned.
    type ExcludedPrefix struct {
    	Prefix string
    }
    
    // Versioning - Configuration for bucket versioning.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

        }
    
        /**
         * Wrap the specified root object, allowing the specified list of expression
         * prefixes and setting whether the {@link PrefixedValueSourceWrapper} allows
         * unprefixed expressions.
         * @param possiblePrefixes The possible prefixes.
         * @param root The root of the graph.
         * @param allowUnprefixedExpressions if we allow undefined expressions or not.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. common/config/.golangci-format.yml

          - prefix(istio.io/) # Groups all imports with the specified Prefix.
      goimports:
        # put imports beginning with prefix after 3rd-party packages;
        # it's a comma-separated list of prefixes
        local-prefixes: istio.io/
    issues:
      # Which dirs to exclude: issues from them won't be reported.
      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. .golangci.yml

        - ineffassign
        - misspell
        - prealloc
        - unconvert
        - unparam
        - goimports
        - whitespace
    
    linters-settings:
      whitespace:
        multi-func: true
      goimports:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Nov 05 00:37:37 UTC 2022
    - 291 bytes
    - Viewed (0)
  6. internal/bucket/versioning/versioning_test.go

    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    				if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
    					t.Fatalf("Test %d: Expected length of excluded prefixes %d but got %d", i+1, len(tc.excludedPrefixes), len(v.ExcludedPrefixes))
    				}
    				var i int
    				var eprefix string
    				for i, eprefix = range tc.excludedPrefixes {
    					if eprefix != v.ExcludedPrefixes[i].Prefix {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        }
    
        @Test
        fun `generates a curated list of package prefixes from directories`() {
            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(someClasses()))
        }
    
        @Test
        fun `generates a curated list of package prefixes from jars`() {
            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(aJar(someClasses())))
        }
    
        @Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
         *  XPath namespace prefixes are resolved from the contextNode.
         *
         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
         *  @return A XPathNodes, should never be null.
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

    import gradlebuild.basics.classanalysis.Attributes.artifactType
    import gradlebuild.basics.classanalysis.Attributes.minified
    import gradlebuild.basics.transforms.Minify
    
    /**
     * A map from artifact name to a set of class name prefixes that should be kept.
     * Artifacts matched by this map will be minified to only contain the specified
     * classes and the classes they depend on. The classes are not relocated, they all
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. cmd/bucket-versioning.go

    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	return vc.Enabled()
    }
    
    // PrefixEnabled returns true is versioning is enabled at bucket level and if
    // the given prefix doesn't match any excluded prefixes pattern. This is
    // part of a MinIO versioning configuration extension.
    func (sys *BucketVersioningSys) PrefixEnabled(bucket, prefix string) bool {
    	vc, err := sys.Get(bucket)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top