Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 153 for Rule (0.01 seconds)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
        Map getInitializationParams() {
            return [
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

          buffer.write(this, length.toLong())
        }
        while (!buffer.exhausted()) {
          var publicSuffix = buffer.readUtf8LineStrict()
          if (publicSuffix.contains("*")) {
            // A wildcard rule, let's replace the wildcard with a value.
            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.codenarc.rules;
    
    import org.codenarc.rule.AbstractAstVisitorRule;
    
    public class IntegrationTestFixturesRule extends AbstractAstVisitorRule {
    
        @Override
        public String getName() {
            return "IntegrationTestFixtures";
        }
    
        @Override
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  4. .github/ISSUE_TEMPLATE/01-pkgsite.yml

      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. ci/official/envs/windows_x86_2022

    netsh interface portproxy add v4tov4 listenaddress=$IP_ADDR listenport=80 connectaddress=169.254.169.254 connectport=80
    # A local firewall rule for the container is added in
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Nov 06 19:44:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
                throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft);
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. build-logic-commons/code-quality-rules/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("java-library")
    }
    description = "Provides a custom CodeNarc rule used by the Gradle build"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
        compileOnly(localGroovy())
        compileOnly("org.codenarc:CodeNarc") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 17 10:11:26 GMT 2024
    - 980 bytes
    - Click Count (0)
  8. internal/bucket/object/lock/lock_test.go

    			expectErr:   true,
    		},
    		{
    			value:       `<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>Enabled</ObjectLockEnabled><Rule><DefaultRetention><Mode>COMPLIANCE</Mode><Days>0</Days></DefaultRetention></Rule></ObjectLockConfiguration>`,
    			expectedErr: fmt.Errorf("Default retention period must be a positive integer value for 'Days'"),
    			expectErr:   true,
    		},
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/prefix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    // Prefix holds the prefix xml tag in <Rule> and <Filter>
    type Prefix struct {
    	string
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 15 14:45:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/noncurrentversion.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    // NoncurrentVersionExpiration - an action for lifecycle configuration rule.
    type NoncurrentVersionExpiration struct {
    	XMLName                 xml.Name       `xml:"NoncurrentVersionExpiration"`
    	NoncurrentDays          ExpirationDays `xml:"NoncurrentDays,omitempty"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Click Count (0)
Back to Top