Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for resolve (0.37 sec)

  1. src/cmd/cgo/internal/test/issue27340.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    import "cmd/cgo/internal/test/issue27340"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 377 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue27340/a.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. cmd/endpoint.go

    			return fmt.Errorf("The endpoint resolution got interrupted")
    		default:
    			for i, resolved := range resolvedList {
    				if resolved {
    					// Continue if host is already resolved.
    					continue
    				}
    
    				if endpoints[i].Host == "" {
    					resolvedList[i] = true
    					endpoints[i].IsLocal = true
    					epsResolved++
    					if !foundLocal {
    						foundLocal = true
    					}
    					continue
    				}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  4. cmd/global-heal.go

    			case <-ctx.Done():
    				return
    			case results <- healEntryDone(entry.name):
    			}
    
    			// Wait and proceed if there are active requests
    			waitForLowHTTPReq()
    		}
    
    		// How to resolve partial results.
    		resolver := metadataResolutionParams{
    			dirQuorum: 1,
    			objQuorum: 1,
    			bucket:    bucket,
    		}
    
    		err = listPathRaw(ctx, listPathRawOptions{
    			disks:          disks,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. cmd/metacache-set.go

    		disks = disks[:askDisks]
    	}
    
    	// How to resolve results.
    	resolver := metadataResolutionParams{
    		dirQuorum: listingQuorum,
    		objQuorum: listingQuorum,
    		bucket:    o.Bucket,
    	}
    
    	// Maximum versions requested for "latest" object
    	// resolution on versioned buckets, this is to be only
    	// used when o.Versioned is false
    	if !o.Versioned {
    		resolver.requestedVersions = 1
    	}
    	var limit int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    				if i > 0 {
    					rng.Shuffle(len(tt.m), func(i, j int) {
    						tt.m[i], tt.m[j] = tt.m[j], tt.m[i]
    					})
    				}
    				gotSelected, gotOk := tt.m.resolve(&tt.r)
    				if gotOk != tt.wantOk {
    					t.Errorf("resolve() gotOk = %v, want %v", gotOk, tt.wantOk)
    				}
    				if gotSelected != nil {
    					gotSelected.cached = nil
    					gotSelected.reusable = false
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    		return errors.New("listAndHeal: No non-healing drives found")
    	}
    
    	expectedDisks := len(disks)/2 + 1
    	fallbackDisks := disks[expectedDisks:]
    	disks = disks[:expectedDisks]
    
    	// How to resolve partial results.
    	resolver := metadataResolutionParams{
    		dirQuorum: 1,
    		objQuorum: 1,
    		bucket:    bucket,
    		strict:    false, // Allow less strict matching.
    	}
    
    	path := baseDirFromPrefix(prefix)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    	}
    
    	// However many we ask, versions must exist on ~50%
    	listingQuorum := (set.setDriveCount + 1) / 2
    
    	// How to resolve partial results.
    	resolver := metadataResolutionParams{
    		dirQuorum: listingQuorum, // make sure to capture all quorum ratios
    		objQuorum: listingQuorum, // make sure to capture all quorum ratios
    		bucket:    bi.Name,
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  10. cmd/data-scanner.go

    		// 2) We come from another disk and this disk missed the write.
    		//
    		// We therefore perform a heal check.
    		// If that doesn't bring it back we remove the folder and assume it was deleted.
    		// This means that the next run will not look for it.
    		// How to resolve results.
    		resolver := metadataResolutionParams{
    			dirQuorum: f.disksQuorum,
    			objQuorum: f.disksQuorum,
    			bucket:    "",
    			strict:    false,
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
Back to top