Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for primes (0.33 sec)

  1. guava/src/com/google/common/math/LongMath.java

       */
      @GwtIncompatible // TODO
      public static boolean isPrime(long n) {
        if (n < 2) {
          checkNonNegative("n", n);
          return false;
        }
        if (n < 66) {
          // Encode all primes less than 66 into mask without 0 and 1.
          long mask =
              (1L << (2 - 2))
                  | (1L << (3 - 2))
                  | (1L << (5 - 2))
                  | (1L << (7 - 2))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. cmd/peer-s3-server.go

    				Name:    v.Name,
    				Deleted: v.Created,
    			})
    		}
    		return true
    	})
    
    	return buckets, nil
    }
    
    func cloneDrives(drives map[string]StorageAPI) []StorageAPI {
    	copyDrives := make([]StorageAPI, 0, len(drives))
    	for _, drive := range drives {
    		copyDrives = append(copyDrives, drive)
    	}
    	return copyDrives
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/path-params.md

    De manera similar, no puedes redefinir una path operation:
    
    {* ../../docs_src/path_params/tutorial003b.py hl[6,11] *}
    
    La primera siempre serĂ¡ utilizada ya que el path coincide primero.
    
    ## Valores predefinidos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    				xlMetaToHealCount++
    			}
    		}
    
    		driveState := objectErrToDriveState(reason)
    
    		result.Before.Drives = append(result.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    		result.After.Drives = append(result.After.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    	Info DiskInfo `json:"-"`
    }
    
    func (f *formatErasureV3) Drives() (drives int) {
    	for _, set := range f.Erasure.Sets {
    		drives += len(set)
    	}
    	return drives
    }
    
    func (f *formatErasureV3) Clone() *formatErasureV3 {
    	b, err := json.Marshal(f)
    	if err != nil {
    		panic(err)
    	}
    	var dst formatErasureV3
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
      1. Generate format.json.zip containing format.json files for all drives in a distributed MinIO server pool of 32 nodes with 32 drives each.
         {{.Prompt}} {{.HelpName}} http://node{1...32}.example.com/mnt/export{1...32}
    
    `,
    }
    
    func fmtGenMain(ctxt *cli.Context) {
    	deploymentID := ctxt.String("deployment-id")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. cmd/server-main_test.go

    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    	// Tests for ErasureSD object layer.
    	nDisks := 1
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    		SetCount: -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	for i, err := range errs {
    		if err == nil {
    			res.Before.Drives = append(res.Before.Drives, healBucketResults[i].Before.Drives...)
    			res.After.Drives = append(res.After.Drives, healBucketResults[i].After.Drives...)
    		}
    	}
    
    	return res, nil
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. docs/en/data/github_sponsors.yml

        avatarUrl: https://avatars.githubusercontent.com/u/29543316?u=44357eb2a93bccf30fb9d389b8befe94a3d00985&v=4
        url: https://github.com/alixlahuec
    - - login: primer-io
        avatarUrl: https://avatars.githubusercontent.com/u/62146168?v=4
        url: https://github.com/primer-io
    - - login: upciti
        avatarUrl: https://avatars.githubusercontent.com/u/43346262?v=4
        url: https://github.com/upciti
      - login: giunio-prc
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:22 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    			}
    		}
    	}
    	return setSize
    }
    
    // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
    // input argument patterns, the symmetry calculation is to ensure that
    // we also use uniform number of drives common across all ellipses patterns.
    func possibleSetCountsWithSymmetry(setCounts []uint64, argPatterns []ellipses.ArgPattern) []uint64 {
    	newSetCounts := make(map[uint64]struct{})
    	for _, ss := range setCounts {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top