Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for ruleset (0.25 sec)

  1. cmd/object-api-utils.go

    	if isMinioMetaBucketName(bucket) {
    		return true
    	}
    	if len(bucket) < 3 || len(bucket) > 63 {
    		return false
    	}
    
    	// Split on dot and check each piece conforms to rules.
    	allNumbers := true
    	pieces := strings.Split(bucket, dnsDelimiter)
    	for _, piece := range pieces {
    		if len(piece) == 0 || piece[0] == '-' ||
    			piece[len(piece)-1] == '-' {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/test-utils_test.go

    	// set globalObjectAPI to `nil`.
    	resetGlobalObjectAPI()
    	// Reset config path set.
    	resetGlobalConfigPath()
    	// Reset Global server config.
    	resetGlobalConfig()
    	// Reset global endpoints.
    	resetGlobalEndpoints()
    	// Reset global isErasure flag.
    	resetGlobalIsErasure()
    	// Reset global heal state
    	resetGlobalHealState()
    	// Reset globalIAMSys to `nil`
    	resetGlobalIAMSys()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/erasure-utils.go

    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    		if write < int64(len(block)) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    			c = ' ' // Treat the checksum field itself as all spaces.
    		}
    		unsigned += int64(c)
    		signed += int64(int8(c))
    	}
    	return unsigned, signed
    }
    
    // reset clears the block with all zeros.
    func (b *block) reset() {
    	*b = block{}
    }
    
    type headerV7 [blockSize]byte
    
    func (h *headerV7) name() []byte     { return h[000:][:100] }
    func (h *headerV7) mode() []byte     { return h[100:][:8] }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    	collectLocalResourceMetrics()
    
    	for {
    		select {
    		case <-GlobalContext.Done():
    			return
    		case <-metricsTimer.C:
    			collectLocalResourceMetrics()
    
    			// Reset the timer for next cycle.
    			metricsTimer.Reset(resourceMetricsCollectionInterval)
    		}
    	}
    }
    
    // minioResourceCollector is the Collector for resource metrics
    type minioResourceCollector struct {
    	metricsGroups []*MetricsGroupV2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. cni/pkg/repair/netns.go

    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/godefs.go

    	conf.Fprint(&buf, fset, f.AST)
    
    	return buf.String()
    }
    
    var gofmtBuf strings.Builder
    
    // gofmt returns the gofmt-formatted string for an AST node.
    func gofmt(n interface{}) string {
    	gofmtBuf.Reset()
    	err := printer.Fprint(&gofmtBuf, fset, n)
    	if err != nil {
    		return "<" + err.Error() + ">"
    	}
    	return gofmtBuf.String()
    }
    
    // gofmtLineReplacer is used to put a gofmt-formatted string for an
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. cmd/erasure-decode_test.go

    				case *wholeBitrotReader:
    					r.disk = badDisk{nil}
    				case *streamingBitrotReader:
    					r.disk = badDisk{nil}
    				}
    			}
    			if test.offDisks > 0 {
    				bitrotReaders[0] = nil
    			}
    			writer.Reset()
    			_, err = erasure.Decode(context.Background(), writer, bitrotReaders, test.offset, test.length, test.data, nil)
    			closeBitrotReaders(bitrotReaders)
    			if err != nil && !test.shouldFailQuorum {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  9. cmd/api-router.go

    			Queries("events", "{events:.*}")
    		// ResetBucketReplicationStatus - MinIO extension API
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ResetBucketReplicationStatusHandler)).
    			Queries("replication-reset-status", "")
    
    		// Dummy Bucket Calls
    		// GetBucketACL -- this is a dummy call.
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketACLHandler)).
    			Queries("acl", "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    			select {
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			default:
    			}
    		}
    		c.connChange.L.Unlock()
    		if len(queue) == 0 {
    			// Combine writes.
    			buf.Reset()
    			err := wsw.writeMessage(&buf, c.side, ws.OpBinary, toSend)
    			if err != nil {
    				gridLogIf(ctx, fmt.Errorf("ws writeMessage: %w", err))
    				return
    			}
    			PutByteBuffer(toSend)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top