Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 2,412 for erros (0.04 sec)

  1. cmd/admin-bucket-handlers.go

    			}
    		}
    	}
    }
    
    type importMetaReport struct {
    	madmin.BucketMetaImportErrs
    }
    
    func (i *importMetaReport) SetStatus(bucket, fname string, err error) {
    	st := i.Buckets[bucket]
    	var errMsg string
    	if err != nil {
    		errMsg = err.Error()
    	}
    	switch fname {
    	case bucketPolicyConfig:
    		st.Policy = madmin.MetaStatus{IsSet: true, Err: errMsg}
    	case bucketNotificationConfig:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    			want += int64(len(tmp) - len(after))
    
    			return buf[:want], err
    
    		default:
    			return nil, errors.New("unknown minor metadata version")
    		}
    	default:
    		return nil, errors.New("unknown major metadata version")
    	}
    }
    
    func decodeXLHeaders(buf []byte) (versions int, headerV, metaV uint8, b []byte, err error) {
    	hdrVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. misc/go_android_exec/main.go

    		if gorootPath == "" {
    			gorootErr = errors.New("GOROOT not found")
    		}
    	})
    
    	return gorootPath, gorootErr
    }
    
    func goTool() (string, error) {
    	goroot, err := findGoroot()
    	if err != nil {
    		return "", err
    	}
    	return filepath.Join(goroot, "bin", "go"), nil
    }
    
    var (
    	gorootOnce sync.Once
    	gorootPath string
    	gorootErr  error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    			}
    			if err != nil {
    				errs[idx] = err
    			}
    		}(idx, tgt)
    	}
    	wg.Wait()
    
    	var (
    		terr        error
    		taggedCount int
    	)
    	for _, err := range errs {
    		if err == nil {
    			taggedCount++
    			continue
    		}
    		if err != nil {
    			terr = err
    		}
    	}
    	// don't return error if at least one target was tagged successfully
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/config-dir.go

    	return dir.path
    }
    
    // Attempts to create all directories, ignores any permission denied errors.
    func mkdirAllIgnorePerm(path string) error {
    	err := os.MkdirAll(path, 0o700)
    	if err != nil {
    		// It is possible in kubernetes like deployments this directory
    		// is already mounted and is not writable, ignore any write errors.
    		if osIsPermission(err) {
    			err = nil
    		}
    	}
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	"github.com/zeebo/xxh3"
    )
    
    func gridLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "grid", err, errKind...)
    }
    
    func gridLogIfNot(ctx context.Context, err error, ignored ...error) {
    	logger.LogIfNot(ctx, "grid", err, ignored...)
    }
    
    func gridLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "grid", err, id, errKind...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. tests/associations_many2many_test.go

    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    		t.Fatalf("no error should happen when create user when languages exists, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
          *error.mutable_source_task() = result.error_payload().source_task();
          TF_SetPayload(&s, tensorflow::CoordinationErrorPayloadKey().data(),
                        error.SerializeAsString().c_str());
        }
        *state_iter = std::move(s);
        ++state_iter;
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. internal/logger/console.go

    )
    
    func (f fatalMsg) pretty(msg string, args ...interface{}) {
    	// Build the passed error message
    	errMsg := fmt.Sprintf(msg, args...)
    
    	tagPrinted := false
    
    	// Print the error message: the following code takes care
    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertTrue("Has no information (${richReport.information})", richReport.information.isEmpty())
            }
    
            fun assertHasErrors(vararg errors: String) {
                assertThat("Has errors", richReport.errors.map { it.message }, CoreMatchers.equalTo(errors.toList()))
            }
    
            fun assertHasWarnings(vararg warnings: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top