Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,351 for round (0.07 sec)

  1. cmd/storage-rest_test.go

    	}
    
    	testCases := []struct {
    		volumeName string
    		objectName string
    		expectErr  bool
    	}{
    		{"foo", "myobject", false},
    		// file not found not returned
    		{"foo", "myobject", false},
    		// file not found not returned
    		{"foo", "yourobject", false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                            c.createNewFile();
                        }
                    }
    
                    String[] found = f.list();
                    Arrays.sort(found);
    
                    for ( int i = 0; i < n; i++ ) {
                        Assert.assertTrue(Arrays.binarySearch(found, String.format("%s%d.tmp", prefix, i)) >= 0);
                    }
                }
                finally {
                    f.delete();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java

            this.lifecycleId = (lifecycleId != null) ? lifecycleId : "";
        }
    
        /**
         * Gets the identifier of the lifecycle that was not found.
         *
         * @return The identifier of the lifecycle that was not found, never {@code null}.
         */
        public String getLifecycleId() {
            return lifecycleId;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial001_py39.py

        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: Session = Depends(get_session)):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    func loadFormatErasure(disk StorageAPI, heal bool) (format *formatErasureV3, err error) {
    	data, err := disk.ReadAll(context.TODO(), minioMetaBucket, formatConfigFile)
    	if err != nil {
    		// 'file not found' and 'volume not found' as
    		// same. 'volume not found' usually means its a fresh disk.
    		if errors.Is(err, errFileNotFound) || errors.Is(err, errVolumeNotFound) {
    			return nil, errUnformattedDisk
    		}
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. docs_src/bigger_applications/app_an/routers/items.py

        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1011 bytes
    - Viewed (0)
  7. docs_src/bigger_applications/app/routers/items.py

        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 1011 bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # o classificationUndefinedHandlingType: (NotRequired - Default LOGGING)
        #  The handling type when undefined classification is found.
        #
        #   EXCEPTION - throws exception when found
        #   LOGGING   - logging only when found (exception if ReplaceSchema)
        #   ALLOWED   - no action
        #
        #; classificationUndefinedHandlingType = LOGGING
        # - - - - - - - - - -/
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  9. istioctl/pkg/install/k8sversion/version_test.go

    			outBufTrim := strings.TrimSpace(outBuf.String())
    
    			if !c.isValid && strings.Compare(errMsgTrim, outBufTrim) != 0 {
    				t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim)
    			}
    
    			if c.isValid && outBuf.Len() > 0 {
    				t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim)
    			}
    			outBuf.Reset()
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. internal/s3select/csv/record.go

    // converted based on the query.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	index, found := r.nameIndexMap[name]
    	if !found {
    		// Check if index.
    		if strings.HasPrefix(name, "_") {
    			idx, err := strconv.Atoi(strings.TrimPrefix(name, "_"))
    			if err != nil {
    				return nil, fmt.Errorf("column %v not found", name)
    			}
    			// The position count starts at 1.
    			idx--
    			if idx >= len(r.csvRecord) || idx < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top