Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,123 for ELSE (0.07 seconds)

  1. cmd/bucket-replication.go

    			if errInt, ok := opts.checkReadyErr.Load(endpoint); !ok {
    				err = checkRemoteEndpoint(ctx, clnt.EndpointURL())
    				opts.checkReadyErr.Store(endpoint, err)
    			} else {
    				if errInt == nil {
    					err = nil
    				} else {
    					err, _ = errInt.(error)
    				}
    			}
    			switch err.(type) {
    			case BucketRemoteIdenticalToSource:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  2. cmd/erasure_test.go

    		}
    		for j := test.dataBlocks; j < test.dataBlocks+test.missingParity; j++ {
    			encoded[j] = nil
    		}
    
    		if test.reconstructParity {
    			err = erasure.DecodeDataAndParityBlocks(t.Context(), encoded)
    		} else {
    			err = erasure.DecodeDataBlocks(encoded)
    		}
    
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: test should fail but it passed", i)
    		}
    		if err != nil && !test.shouldFail {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. tests/association_generics_test.go

    		t.Fatalf("create tools: %v", err)
    	} else if rows != 0 {
    		t.Fatalf("rows %d", rows)
    	}
    	AssertAssociationCount(t, user, "Tools", 1, "after create tool")
    
    	unlinkOp := clause.Association{Association: "Tools", Type: clause.OpUnlink}
    	if rows, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(unlinkOp).Update(ctx); err != nil {
    		t.Fatalf("unlink tools: %v", err)
    	} else if rows != 0 {
    		t.Fatalf("rows %d", rows)
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            String targetModel;
            if (options.modelVersion().isPresent()) {
                targetModel = options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                targetModel = MODEL_VERSION_4_1_0;
            } else {
                targetModel = MavenPomElements.ModelVersions.MODEL_VERSION_4_0_0;
            }
    
            if (!ModelVersionUtils.isValidModelVersion(targetModel)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. internal/s3select/sql/analysis.go

    	for _, ac := range e.Condition {
    		result.combine(ac.analyze(s))
    	}
    	return result
    }
    
    func (e *Condition) analyze(s *Select) (result qProp) {
    	if e.Operand != nil {
    		result = e.Operand.analyze(s)
    	} else {
    		result = e.Not.analyze(s)
    	}
    	return result
    }
    
    func (e *ListExpr) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Elements {
    		result.combine(ac.analyze(s))
    	}
    	return result
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. docs/en/docs/async.md

    ## Asynchronous Code { #asynchronous-code }
    
    Asynchronous code just means that the language 💬 has a way to tell the computer / program 🤖 that at some point in the code, it 🤖 will have to wait for *something else* to finish somewhere else. Let's say that *something else* is called "slow-file" 📝.
    
    So, during that time, the computer can go and do some other work, while "slow-file" 📝 finishes.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 24K bytes
    - Click Count (0)
  7. tests/count_test.go

    		t.Errorf("count with join, got error: %v, count %v", err, count)
    	}
    
    	var count6 int64
    	if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
    		"(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other",
    	).Count(&count6).Find(&users).Error; err != nil || count6 != 3 {
    		t.Fatalf("Count should work, but got err %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. docs_src/additional_responses/tutorial004_py310.py

        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                    }
                } else {
                    sb.append("      no entries\n");
                }
    
                List<MetadataGraphEdge> outs = getExcidentEdges(v);
                if (outs != null) {
                    for (MetadataGraphEdge e : outs) {
                        sb.append("        to :  ").append(e.toString()).append('\n');
                    }
                } else {
                    sb.append("      no exit\n");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

        }
    
        private boolean isSuccessorOf(Set<BuildStep> visited, BuildStep step) {
            if (this == step) {
                return true;
            } else if (visited.add(this)) {
                return this.predecessors.stream().anyMatch(n -> n.isSuccessorOf(visited, step));
            } else {
                return false;
            }
        }
    
        public void skip() {
            skip.set(true);
            mojos.clear();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top