Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 663 for aranges (0.08 sec)

  1. prepare_stmt.go

    		return dbConnector.GetDBConn()
    	}
    
    	return nil, ErrInvalidDB
    }
    
    func (db *PreparedStmtDB) Close() {
    	db.Mux.Lock()
    	defer db.Mux.Unlock()
    
    	for _, stmt := range db.Stmts {
    		go func(s *Stmt) {
    			// make sure the stmt must finish preparation first
    			<-s.prepared
    			if s.Stmt != nil {
    				_ = s.Close()
    			}
    		}(stmt)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/filter.go

    // it returns true if there is no tags in the underlying Filter.
    func (f Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cache := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cache[t.Key] = t.Value
    			}
    		}
    		f.cachedTags = cache
    	}
    
    	// This filter does not have any tags, always return true
    	if len(f.cachedTags) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. cmd/metrics-v3-logger-webhook.go

    // such as failed messages and total messages.
    func loadLoggerWebhookMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	tgts := append(logger.SystemTargets(), logger.AuditTargets()...)
    	for _, t := range tgts {
    		labels := []string{nameL, t.String(), endpointL, t.Endpoint()}
    		m.Set(webhookFailedMessages, float64(t.Stats().FailedMessages), labels...)
    		m.Set(webhookQueueLength, float64(t.Stats().QueueLength), labels...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:27:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    // only until the next call to a method like [Buffer.Read], [Buffer.Write], [Buffer.Reset], or [Buffer.Truncate]).
    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. cmd/bucket-encryption_test.go

    			</ApplyServerSideEncryptionByDefault>
    			</Rule>
    			</ServerSideEncryptionConfiguration>`,
    			expectedErr: nil,
    			shouldPass:  true,
    		},
    	}
    
    	for i, tc := range testCases {
    		_, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML)))
    		if tc.shouldPass && err != nil {
    			t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 14 07:59:05 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. internal/config/server.go

    package config
    
    // Opts holds MinIO configuration options
    type Opts struct {
    	FTP struct {
    		Address          string `yaml:"address"`
    		PassivePortRange string `yaml:"passive-port-range"`
    	} `yaml:"ftp"`
    	SFTP struct {
    		Address       string `yaml:"address"`
    		SSHPrivateKey string `yaml:"ssh-private-key"`
    	} `yaml:"sftp"`
    }
    
    // ServerConfigVersion struct is used to extract the version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 15:54:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        /**
         * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map
         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

            if (!(element instanceof Long) || parent.array[i++] != (Long) element) {
              return false;
            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

          if (type instanceof WildcardType) {
            WildcardType wildcardType = (WildcardType) type;
            Type[] lowerBounds = wildcardType.getLowerBounds();
            if (lowerBounds.length == 0) { // ? extends something changes to capture-of
              return captureAsTypeVariable(wildcardType.getUpperBounds());
            } else {
              // TODO(benyu): handle ? super T somehow.
              return type;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        /**
         * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map
         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top