Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for kinase (0.17 sec)

  1. src/archive/zip/struct.go

    	return time.FixedZone("", int(offset/time.Second))
    }
    
    // msDosTimeToTime converts an MS-DOS date and time into a time.Time.
    // The resolution is 2s.
    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    		// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
    		int(dosDate>>9+1980),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. cmd/warm-backend-azure.go

    	_, err := blob.Delete(ctx, azblob.DeleteSnapshotsOptionNone, azblob.BlobAccessConditions{})
    	return azureToObjectError(err, az.Bucket, object)
    }
    
    func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
    	containerURL := az.serviceURL.NewContainerURL(az.Bucket)
    	resp, err := containerURL.ListBlobsHierarchySegment(ctx, azblob.Marker{}, "/", azblob.ListBlobsSegmentOptions{
    		Prefix:     az.Prefix,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  3. cmd/tier.go

    	d, err := newWarmBackend(ctx, tier, true)
    	if err != nil {
    		return err
    	}
    
    	if !ignoreInUse {
    		// Check if warmbackend is in use by other MinIO tenants
    		inUse, err := d.InUse(ctx)
    		if err != nil {
    			return err
    		}
    		if inUse {
    			return errTierBackendInUse
    		}
    	}
    
    	config.Tiers[tierName] = tier
    	config.drivercache[tierName] = d
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/warm-backend.go

    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    // checkWarmBackend checks if tier config credentials have sufficient privileges
    // to perform all operations defined in the WarmBackend interface.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. tests/prepared_stmt_test.go

    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts), 2)
    	for _, stmt := range conn.Stmts {
    		if stmt == nil {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 07:55:43 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    	// (e.g. LoadBalanced Service packets, etc) that need to be authenticated/captured/proxied.
    	//
    	// We want to do the same thing in ambient but can't rely on podSpec injection. So, do effectively the same thing,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. internal/http/server.go

    		// If server is in shutdown.
    		if atomic.LoadUint32(&srv.inShutdown) != 0 {
    			// To indicate disable keep-alive, server is shutting down.
    			w.Header().Set("Connection", "close")
    
    			// Add 1 minute retry header, incase-client wants to honor it
    			w.Header().Set(RetryAfter, "60")
    
    			w.WriteHeader(http.StatusServiceUnavailable)
    			w.Write([]byte(http.ErrServerClosed.Error()))
    			return
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    		return
    	}
    	hiName := p.next().String()
    	hi, ok := p.arch.Register[hiName]
    	if !ok {
    		p.errorf("register list: bad high register in `[%s-%s`", loName, hiName)
    		return
    	}
    	if tok := p.next().ScanToken; tok != ']' {
    		p.errorf("register list: expected ']' after `[%s-%s`, found %s", loName, hiName, tok)
    	}
    
    	a.Type = obj.TYPE_REGLIST
    	a.Reg = lo
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/cluster.go

    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(clusters[i].Name)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(clusters[j].Name)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    					return iDirection < jDirection
    				}
    				return iPort < jPort
    			}
    			return iSubset < jSubset
    		}
    		return iName < jName
    	})
    	return clusters, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(endpoints[i].ClusterName)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(endpoints[j].ClusterName)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    					return iDirection < jDirection
    				}
    				return iPort < jPort
    			}
    			return iSubset < jSubset
    		}
    		return iName < jName
    	})
    	return endpoints, nil
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top