Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 550 for invalidAt (0.13 sec)

  1. tests/distinct_test.go

    	}
    
    	expects := []User{
    		{Name: "distinct", Age: 20},
    		{Name: "distinct", Age: 18},
    		{Name: "distinct-2", Age: 18},
    		{Name: "distinct-3", Age: 18},
    	}
    
    	if len(results) != 4 {
    		t.Fatalf("invalid results length found, expects: %v, got %v", len(expects), len(results))
    	}
    
    	for idx, expect := range expects {
    		AssertObjEqual(t, results[idx], expect, "Name", "Age")
    	}
    
    	var count int64
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. internal/amztime/parse.go

    	http.TimeFormat,
    	"Mon, 2 Jan 2006 15:04:05 GMT",
    }
    
    // ParseHeader parses http.TimeFormat with an acceptable
    // extension for http.TimeFormat - return time might be zero
    // if the timeStr is invalid.
    func ParseHeader(timeStr string) (time.Time, error) {
    	for _, dateFormat := range httpTimeFormats {
    		t, err := time.Parse(dateFormat, timeStr)
    		if err == nil {
    			return t, nil
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version);
            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning_test.go

    func TestExcludedPrefixesMatch(t *testing.T) {
    	v := Versioning{
    		Status:           Enabled,
    		ExcludedPrefixes: []ExcludedPrefix{{"*/_temporary/"}},
    	}
    
    	if err := v.Validate(); err != nil {
    		t.Fatalf("Invalid test versioning config %v: %v", v, err)
    	}
    	tests := []struct {
    		prefix   string
    		excluded bool
    	}{
    		{
    			prefix:   "app1-jobs/output/_temporary/attempt1/data.csv",
    			excluded: true,
    		},
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt_test.go

    		arnProviderCfgsMap: map[arn.ARN]*providerCfg{
    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    	}
    
    	u, err := url.Parse("http://127.0.0.1:8443/?Token=invalid")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(context.Background(), DummyRoleARN, u.Query().Get("Token"), "", "", claims); err == nil {
    		t.Fatal(err)
    	}
    }
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    return OptionalEntity.of(permissionSet);
                }).orElseThrow(() -> new InvalidAccessTokenException("invalid_token", "Invalid token: " + token));
            }
            return OptionalEntity.empty();
        }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. internal/config/browser/browser.go

    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    		return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy)
    	}
    
    	return cfg, nil
    }
    
    // GetCSPolicy - Get the Content security Policy
    func (browseCfg *Config) GetCSPolicy() string {
    	configLock.RLock()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 21 00:58:58 UTC 2024
    - 5.9K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            if (StringUtil.isNotBlank(value)) {
                try {
                    readInterval = Long.parseLong(value);
                } catch (final NumberFormatException e) {
                    logger.warn("Invalid read interval: {}", value);
                }
            }
            return readInterval;
        }
    
        protected void sleep(final long interval) {
            ThreadUtil.sleepQuietly(interval);
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/dlpack.cc

    };
    
    // Gets tensor from eager tensor handle.
    const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
      }
      tensorflow::TensorHandle* handle =
          tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h));
      if (handle->Type() != TensorHandle::LOCAL) {
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, user2, "Company", 0, "after clear")
    	AssertAssociationCount(t, user2, "Manager", 0, "after clear")
    
    	// unexist company id
    	unexistCompanyID := company.ID + 9999999
    	user = User{Name: "invalid-user-with-invalid-belongs-to-foreign-key", CompanyID: &unexistCompanyID}
    	if err := DB.Create(&user).Error; err == nil {
    		tidbSkip(t, "not support the foreign key feature")
    		t.Errorf("should have gotten foreign key violation error")
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (1)
Back to top