Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 371 for disallow (0.21 sec)

  1. pkg/test/framework/test.go

    	t.runInternal(fn, false)
    }
    
    func (t *testImpl) RunParallel(fn func(ctx TestContext)) {
    	t.runInternal(fn, true)
    }
    
    func (t *testImpl) runInternal(fn func(ctx TestContext), parallel bool) {
    	// Disallow running the same test more than once.
    	if t.ctx != nil {
    		testName := t.name
    		if testName == "" && t.goTest != nil {
    			testName = t.goTest.Name()
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/internal/godebug/godebug.go

    // and then call Value each time the current setting value is needed:
    //
    //	var http2server = godebug.New("http2server")
    //
    //	func ServeConn(c net.Conn) {
    //		if http2server.Value() == "0" {
    //			disallow HTTP/2
    //			...
    //		}
    //		...
    //	}
    //
    // Each time a non-default setting causes a change in program behavior,
    // code must call [Setting.IncNonDefault] to increment a counter that can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. cmd/bucket-object-lock.go

    				return mode, retainDate, legalHold, ErrObjectLocked
    			}
    			mode = r.Mode
    			retainDate = r.RetainUntilDate
    			legalHold = objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    			// Disallow overwriting an object on legal hold
    			if legalHold.Status == objectlock.LegalHoldOn {
    				return mode, retainDate, legalHold, ErrObjectLocked
    			}
    		}
    	}
    
    	if legalHoldRequested {
    		var lerr error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReader.java

            SAXParserFactory spf = XmlFactories.newSAXParserFactory();
            spf.setFeature("http://xml.org/sax/features/namespaces", false);
            spf.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
            return spf.newSAXParser();
        }
    
        private static class VerifiersHandler extends DefaultHandler2 {
            private final Interner<String> stringInterner = Interners.newStrongInterner();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 13:23:37 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy

            """
    
            when:
            fails()
    
            then:
            failure.assertHasCause("The value for this property is final and cannot be changed any further.")
        }
    
        def "can disallow changes to a property using API without finalizing the value"() {
            given:
            buildFile """
                Integer counter = 0
                def provider = providers.provider { ++counter }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:00:52 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    		if gr.Group == "extensions" {
    			allErrs = append(
    				allErrs,
    				field.Invalid(
    					jj,
    					resources[j],
    					extensionsGroupErr,
    				),
    			)
    			continue
    		}
    
    		// disallow resource.* as encrypting the same resource across groups does not make sense
    		if gr.Group == "*" && gr.Resource != "*" {
    			allErrs = append(
    				allErrs,
    				field.Invalid(
    					jj,
    					resources[j],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/subr.go

    	// (unless it's unsafe.Pointer). These are runtime-specific
    	// rules.
    	// (a) Disallow (*T) to (*U) where T is not-in-heap but U isn't.
    	if src.IsPtr() && dst.IsPtr() && dst.Elem().NotInHeap() && !src.Elem().NotInHeap() {
    		why := fmt.Sprintf(":\n\t%v is incomplete (or unallocatable), but %v is not", dst.Elem(), src.Elem())
    		return ir.OXXX, why
    	}
    	// (b) Disallow string to []T where T is not-in-heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1beta1/types.go

    	// Healthy pods will be subject to the PDB for eviction.
    	//
    	// Additional policies may be added in the future.
    	// Clients making eviction decisions should disallow eviction of unhealthy pods
    	// if they encounter an unrecognized policy in this field.
    	//
    	// This field is beta-level. The eviction API uses this field when
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      // about it being private, you have mis-spelled SetUp() as Setup().
      struct Setup_should_be_spelled_SetUp {};
      virtual Setup_should_be_spelled_SetUp* Setup() { return NULL; }
    
      // We disallow copying Tests.
      GTEST_DISALLOW_COPY_AND_ASSIGN_(Test);
    };
    
    typedef internal::TimeInMillis TimeInMillis;
    
    // A copyable object representing a user specified test property which can be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/noder/noder.go

    			}
    			p.pragcgo(pos, text)
    			pragma.Flag |= pragmaFlag("go:cgo_import_dynamic")
    			break
    		}
    		fallthrough
    	case strings.HasPrefix(text, "go:cgo_"):
    		// For security, we disallow //go:cgo_* directives other
    		// than cgo_import_dynamic outside cgo-generated files.
    		// Exception: they are allowed in the standard library, for runtime and syscall.
    		if !isCgoGeneratedFile(pos) && !base.Flag.Std {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top