Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StructuralError (0.2 sec)

  1. src/compress/bzip2/huffman.go

    		// is zero or one. Both cases are invalid because a zero length
    		// tree cannot encode anything and a length-1 tree can only
    		// encode EOF and so is superfluous. We reject both.
    		if len(codes) < 2 {
    			return 0, StructuralError("empty Huffman tree")
    		}
    
    		// In this case the recursion doesn't always reduce the length
    		// of codes so we need to ensure termination via another
    		// mechanism.
    		if level == 31 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    			klog.Errorf("failed to convert CRD validation to internal version: %v", err)
    			continue
    		}
    		s, err := schema.NewStructural(internalSchema.OpenAPIV3Schema)
    		if err != nil {
    			cond.Reason = "StructuralError"
    			cond.Message = fmt.Sprintf("failed to check validation schema for version %s: %v", v.Name, err)
    			return cond
    		}
    
    		pth := field.NewPath("spec", "versions").Index(i).Child("schema", "openAPIV3Schema")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top