Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for checkZip (0.15 sec)

  1. cmd/storage-rest-server.go

    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy

                        def result = checkInService.checkIn(pluginMetadata, serviceFactory)
                        if (result.unsupportedMessage == null) {
                            println "${propertyPrefix}.checkIn.supported"
                            settings.gradle.extensions.add("serviceRef", result.pluginServiceRef)
                        } else {
                            println "${propertyPrefix}.checkIn.unsupported.reasonMessage = \$result.unsupportedMessage"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    	checkId(16, tWireType)
    	checkId(17, mustGetTypeInfo(reflect.TypeFor[arrayType]()).id)
    	checkId(18, mustGetTypeInfo(reflect.TypeFor[CommonType]()).id)
    	checkId(19, mustGetTypeInfo(reflect.TypeFor[sliceType]()).id)
    	checkId(20, mustGetTypeInfo(reflect.TypeFor[structType]()).id)
    	checkId(21, mustGetTypeInfo(reflect.TypeFor[fieldType]()).id)
    	checkId(23, mustGetTypeInfo(reflect.TypeFor[mapType]()).id)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs.go

    		f.Close()
    		t.errorf("%s: Open returned File type %T, not a fs.ReadDirFile", dir, f)
    		return nil
    	}
    	return d
    }
    
    // checkDir checks the directory dir, which is expected to exist
    // (it is either the root or was found in a directory listing with IsDir true).
    func (t *fsTester) checkDir(dir string) {
    	// Read entire directory.
    	t.dirs = append(t.dirs, dir)
    	d := t.openDir(dir)
    	if d == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    		}
    		return nil
    	}
    
    	// Stream output.
    	return scanDir(opts.BaseDir)
    }
    
    func (p *xlStorageDiskIDCheck) WalkDir(ctx context.Context, opts WalkDirOptions, wr io.Writer) (err error) {
    	if err := p.checkID(opts.DiskID); err != nil {
    		return err
    	}
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricWalkDir, opts.Bucket, opts.BaseDir)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. src/reflect/all_test.go

    	CheckI("bv", bv, 11)
    	CheckI("&bv", &bv, 11)
    
    	bp := Tbigp([2]uintptr{7, 8})
    	CheckI("&bp", &bp, 15)
    
    	t4 := Tm4{}
    	t3 := Tm3{&t4}
    	t2 := Tm2{&t3}
    	t1 := Tm1{t2}
    	CheckI("t4", t4, 40)
    	CheckI("&t4", &t4, 40)
    	CheckI("t3", t3, 40)
    	CheckI("&t3", &t3, 40)
    	CheckI("t2", t2, 40)
    	CheckI("&t2", &t2, 40)
    	CheckI("t1", t1, 40)
    	CheckI("&t1", &t1, 40)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  7. src/cmd/link/link_test.go

    		raw := cmd.Raw()
    		type_ := exem.ByteOrder.Uint32(raw)
    		if type_ != LC_BUILD_VERSION {
    			continue
    		}
    		osVer := exem.ByteOrder.Uint32(raw[12:])
    		checkMin(osVer)
    		sdkVer := exem.ByteOrder.Uint32(raw[16:])
    		checkMin(sdkVer)
    		found = true
    		break
    	}
    	if !found {
    		t.Errorf("no LC_BUILD_VERSION load command found")
    	}
    }
    
    const Issue34788src = `
    
    package blah
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    	if !existed {
    		l.symsByName[ver][name] = i
    		addToGlobal()
    		return i
    	}
    	// symbol already exists
    	if osym.Dupok() {
    		if l.flags&FlagStrictDups != 0 {
    			l.checkdup(name, r, li, oldi)
    		}
    		// Fix for issue #47185 -- given two dupok symbols with
    		// different sizes, favor symbol with larger size. See
    		// also issue #46653.
    		szdup := l.SymSize(oldi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/crypto/x509/x509_test.go

    	ed25519Pub, ed25519Priv, err := ed25519.GenerateKey(random)
    	if err != nil {
    		t.Fatalf("Failed to generate Ed25519 key: %s", err)
    	}
    
    	tests := []struct {
    		name      string
    		pub, priv any
    		checkSig  bool
    		sigAlgo   SignatureAlgorithm
    	}{
    		{"RSA/RSA", &testPrivateKey.PublicKey, testPrivateKey, true, SHA384WithRSA},
    		{"RSA/ECDSA", &testPrivateKey.PublicKey, ecdsaPriv, false, ECDSAWithSHA384},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top