Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 251 for Fatal (0.04 sec)

  1. tests/migrate_test.go

    		t.Fatalf("Failed to rename table, got error %v", err)
    	}
    
    	if !DB.Migrator().HasTable("new_table_structs") {
    		t.Fatal("should found renamed table")
    	}
    
    	DB.Migrator().DropTable("new_table_structs")
    
    	if DB.Migrator().HasTable(&NewTableStruct{}) {
    		t.Fatal("should not found dropped table")
    	}
    }
    
    func TestMigrateWithQuotedIndex(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	bucketName1 := fmt.Sprintf("%s-1", bucketName)
    	if err := obj.MakeBucket(GlobalContext, bucketName1, MakeBucketOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	// template for constructing HTTP request body for PUT bucket policy.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    					if err := combine(v, k+"-"+baseName); err != nil {
    						fmt.Println("ERROR:", err)
    					}
    				}
    			}
    		}
    
    		return nil
    	}
    	err := app.Run(os.Args)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    code is governed by a BSD-style // license that can be found in the LICENSE file. package fips140 import ( "crypto/internal/fips140deps/godebug" "errors" "strings" _ "unsafe" // for go:linkname ) // fatal is [runtime.fatal], pushed via linkname. // //go:linkname fatal crypto/internal/fips140.fatal func fatal(string) // failfipscast is a GODEBUG key allowing simulation of a CAST or PCT failure, // as required during FIPS 140-3 functional testing. The value is the whole name // of the target CAST or PCT....
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    		format = "%s:%d: " + format + "\n"
    		args = append([]any{p.lex.File(), p.lineNum}, args...)
    	}
    	fmt.Fprintf(p.errorWriter, format, args...)
    	p.errorCount++
    	if p.errorCount > 10 && !*flags.AllErrors {
    		log.Fatal("too many errors")
    	}
    }
    
    func (p *Parser) pos() src.XPos {
    	return p.ctxt.PosTable.XPos(src.MakePos(p.lex.Base(), uint(p.lineNum), 0))
    }
    
    func (p *Parser) Parse() (*obj.Prog, bool) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    	if err == nil {
    		c.Fatalf("user must not be allowed to delete")
    	}
    
    	err = client.RemoveObject(ctx, bucket, "some-object", minio.RemoveObjectOptions{})
    	if err != nil {
    		c.Fatal("user must be able to create delete marker")
    	}
    }
    
    func (c *check) mustDownload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  7. lib/fips140/v1.1.0-rc1.zip

    code is governed by a BSD-style // license that can be found in the LICENSE file. package fips140 import ( "crypto/internal/fips140deps/godebug" "errors" "strings" _ "unsafe" // for go:linkname ) // fatal is [runtime.fatal], pushed via linkname. // //go:linkname fatal crypto/internal/fips140.fatal func fatal(string) // failfipscast is a GODEBUG key allowing simulation of a CAST or PCT failure, // as required during FIPS 140-3 functional testing. The value is the whole name // of the target CAST or PCT....
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    	if err != nil {
    		switch err.(type) {
    		case InvalidUploadID:
    			t.Fatalf("%s: New Multipart upload failed to create uuid file.", instanceType)
    		default:
    			t.Fatal(err.Error())
    		}
    	}
    }
    
    // Wrapper for calling AbortMultipartUpload tests for both Erasure multiple disks and single node setup.
    func TestObjectAbortMultipartUpload(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		bootstrapTrace(fmt.Sprintf("poolMeta.Init: loading pool metadata, attempt: %d", attempt), func() {
    			err = z.Init(ctx) // Initializes all pools.
    		})
    		if err != nil {
    			if !configRetriableErrors(err) {
    				logger.Fatal(err, "Unable to initialize backend")
    			}
    			retry := time.Duration(r.Float64() * float64(5*time.Second))
    			storageLogIf(ctx, fmt.Errorf("Unable to initialize backend: %w, retrying in %s", err, retry))
    			time.Sleep(retry)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 89.2K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    	if err := userAdmClient.AddUser(ctx, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err == nil {
    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // TestSTSTokenRevoke - tests the token revoke API
    func (s *TestSuiteIAM) TestSTSTokenRevoke(c *check) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
Back to top