Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for Miller (0.24 sec)

  1. misc/cgo/gmp/gmp.go

    func GcdInt(d, x, y, a, b *Int) {
    	d.doinit()
    	x.doinit()
    	y.doinit()
    	a.doinit()
    	b.doinit()
    	C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0])
    }
    
    // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime.
    // If it returns true, z is prime with probability 1 - 1/4^n.
    // If it returns false, z is not prime.
    func (z *Int) ProbablyPrime(n int) bool {
    	z.doinit()
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/filter_test.go

    			inputXML: ` <Filter>
    						<Tag>
    							<Key>key1</Key>
    							<Value>value1</Value>
    						</Tag>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter with Prefix tag
    			inputXML: ` <Filter>
    							<Prefix>key-prefix</Prefix>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter without And and multiple Tag tags
    			inputXML: ` <Filter>
    							<Prefix>key-prefix</Prefix>
    							<Tag>
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. cmd/os_other.go

    						continue
    					}
    					return err
    				}
    
    				// Ignore symlinked directories.
    				if fi.IsDir() {
    					continue
    				}
    			}
    			if err = filter(fi.Name(), fi.Mode()); err == errDoneForNow {
    				// filtering requested to return by caller.
    				return nil
    			}
    		}
    	}
    	return nil
    }
    
    // Return entries at the directory dirPath.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    // filter will apply the options and return the number of objects requested by the limit.
    // Will return io.EOF if there are no more entries with the same filter.
    // The last entry can be used as a marker to resume the listing.
    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/listener.go

    	case *listener.Filter_TypedConfig:
    		if err := c.TypedConfig.UnmarshalTo(out); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func getHTTPConnectionManager(filter *listener.Filter) *hcm.HttpConnectionManager {
    	cm := &hcm.HttpConnectionManager{}
    	if err := getFilterConfig(filter, cm); err != nil {
    		log.Errorf("failed to get HTTP connection manager config: %s", err)
    		return nil
    	}
    	return cm
    }
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    	clusterConfigCmd.PersistentFlags().StringVar(&fqdn, "fqdn", "", "Filter clusters by substring of Service FQDN field")
    	clusterConfigCmd.PersistentFlags().StringVar(&direction, "direction", "", "Filter clusters by Direction field")
    	clusterConfigCmd.PersistentFlags().StringVar(&subset, "subset", "", "Filter clusters by substring of Subset field")
    	clusterConfigCmd.PersistentFlags().IntVar(&port, "port", 0, "Filter clusters by Port field")
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. internal/event/errors.go

    	return "more than one prefix in filter rule"
    }
    
    // ErrFilterNameSuffix - more than one suffix usage error.
    type ErrFilterNameSuffix struct{}
    
    func (err ErrFilterNameSuffix) Error() string {
    	return "more than one suffix in filter rule"
    }
    
    // ErrInvalidFilterValue - invalid filter value error.
    type ErrInvalidFilterValue struct {
    	FilterValue string
    }
    
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication_test.go

    					Filter:                  Filter{Prefix: "xy", And: And{}, Tag: Tag{Key: "k1", Value: "v1"}},
    				},
    				{
    					Status:                  Enabled,
    					Priority:                1,
    					DeleteMarkerReplication: DeleteMarkerReplication{Status: Enabled},
    					DeleteReplication:       DeleteReplication{Status: Disabled},
    					Filter:                  Filter{Prefix: "xyz"},
    				},
    			},
    		},
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	hasTags := len(r.Flags.Filter.Tags) != 0
    	isMetadata := len(r.Flags.Filter.Metadata) != 0
    	isStorageClassOnly := len(r.Flags.Filter.Metadata) == 1 && strings.EqualFold(r.Flags.Filter.Metadata[0].Key, xhttp.AmzStorageClass)
    
    	skip := func(oi ObjectInfo) (ok bool) {
    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Days: ExpirationDays(3)},
    			},
    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Date: midnightTS},
    			},
    			{
    				Status:                      "Enabled",
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top