Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Klinger (0.17 sec)

  1. misc/cgo/gmp/gmp.go

    If xxx is data, cgo arranges for C.xxx to refer to the C variable,
    with the type translated as described above.  To do this, cgo must
    introduce a Go variable that points at the C variable (the linker can
    be told to initialize this pointer).  For example, if the gmp library
    provided
    
    	mpz_t zero;
    
    then cgo would rewrite a reference to C.zero by introducing
    
    	var _C_zero *C.mpz_t
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. gorm.go

    		DB:       db,
    		ConnPool: db.ConnPool,
    		Context:  context.Background(),
    		Clauses:  map[string]clause.Clause{},
    	}
    
    	if err == nil && !config.DisableAutomaticPing {
    		if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok {
    			err = pinger.Ping()
    		}
    	}
    
    	if err != nil {
    		config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err)
    	}
    
    	return
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. cmd/metacache.go

    		return false
    	case cache.finished() && time.Since(cache.lastHandout) > 5*metacacheMaxClientWait:
    		// Keep for 15 minutes after we last saw the client.
    		// Since the cache is finished keeping it a bit longer doesn't hurt us.
    		return false
    	case cache.status == scanStateError || cache.status == scanStateNone:
    		// Remove failed listings after 5 minutes.
    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    		if !changeNeeded {
    			log.Debugf("Pod %s update event skipped, no change needed", pod.Name)
    			return nil
    		}
    
    		if !shouldBeEnabled {
    			log.Debugf("Pod %s no longer matches, removing from mesh", newPod.Name)
    			err := s.dataplane.RemovePodFromMesh(s.ctx, pod)
    			log.Debugf("RemovePodFromMesh(%s) returned %v", newPod.Name, err)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. schema/schema.go

    	}
    
    	return schema, schema.err
    }
    
    // This unrolling is needed to show to the compiler the exact set of methods
    // that can be used on the modelType.
    // Prior to go1.22 any use of MethodByName would cause the linker to
    // abandon dead code elimination for the entire binary.
    // As of go1.22 the compiler supports one special case of a string constant
    // being passed to MethodByName. For enterprise customers or those building
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    	ctx := context.Background()
    
    	defaultCacheDuration := 10 * time.Second
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    	load := func(name string, timeout time.Duration) (bool, error) {
    		// Abandon if more than time.Minute, so we don't hold up scanner.
    		// drive timeout by default is 2 minutes, we do not need to wait longer.
    		ctx, cancel := context.WithTimeout(ctx, timeout)
    		defer cancel()
    
    		r, err := store.GetObjectNInfo(ctx, minioMetaBucket, pathJoin(bucketMetaPrefix, name), nil, http.Header{}, ObjectOptions{NoLock: true})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. src/cmd/api/main_test.go

    	if !strings.Contains(f, "(") {
    		return f
    	}
    	return spaceParensRx.ReplaceAllString(f, "")
    }
    
    // portRemoved reports whether the given port-specific API feature is
    // okay to no longer exist because its port was removed.
    func portRemoved(feature string) bool {
    	return strings.Contains(feature, "(darwin-386)") ||
    		strings.Contains(feature, "(darwin-386-cgo)")
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/notification.go

    	}()
    	wg.Wait()
    
    	return results
    }
    
    // SpeedTest run GET/PUT tests at input concurrency for requested object size,
    // optionally you can extend the tests longer with time.Duration.
    func (sys *NotificationSys) SpeedTest(ctx context.Context, sopts speedTestOpts) []SpeedTestResult {
    	length := len(sys.allPeerClients)
    	if length == 0 {
    		// For single node erasure setup.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    	err = s.adm.SetUser(ctx, accessKey, newSecretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to update user's secret key: %v", err)
    	}
    	// 3.10.1 Check that old password no longer works.
    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err == nil {
    		c.Fatalf("user was unexpectedly able to create bucket with bad password!")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
Back to top