Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 156 for Sample (0.16 sec)

  1. cmd/server_test.go

    	s.endPoint = s.testServer.Server.URL
    }
    
    func (s *TestSuiteCommon) TearDownSuite(c *check) {
    	s.testServer.Stop()
    }
    
    func (s *TestSuiteCommon) TestBucketSQSNotificationWebHook(c *check) {
    	// Sample bucket notification.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. internal/store/queuestore_test.go

    	"strings"
    	"testing"
    )
    
    type TestItem struct {
    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		// as a List() call is an important performance improvement.
    		//
    		// Spark based s3a committers are a  big enough use-case to have this optimization.
    		//
    		// A sample code to see the improvements is as follows, this sample code is
    		// simply a read on JSON from MinIO and write it back as "parquet".
    		//
    		// import org.apache.spark.sql.SparkSession
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    			},
    		},
    	}
    	s3MD5 := getCompleteMultipartMD5(inputParts[3].parts)
    
    	// Test cases with sample input values for CompleteMultipartUpload.
    	testCases := []struct {
    		bucket   string
    		object   string
    		uploadID string
    		parts    []CompletePart
    		// Expected output of CompleteMultipartUpload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    cui fliter <******@****.***> 1709194171 +0800
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. cni/pkg/plugin/plugin.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"runtime/debug"
    	"strconv"
    	"time"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. chainable_api.go

    //
    // This supports both standard clauses (clause.OrderBy, clause.Limit, clause.Where) and more
    // advanced techniques like specifying lock strength and optimizer hints. See the
    // [docs] for more depth.
    //
    //	// add a simple limit clause
    //	db.Clauses(clause.Limit{Limit: 1}).Find(&User{})
    //	// tell the optimizer to use the `idx_user_name` index
    //	db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{})
    //	// specify the lock strength to UPDATE
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  9. istioctl/pkg/internaldebug/internal-debug.go

    Retrieves the debug information from Istiod or Pods in the mesh using the service account from the pod if --cert-dir is empty.
    By default it will use the default serviceAccount from (istio-system) namespace if the pod is not specified.
    `,
    		Example: `  # Retrieve sync status for all Envoys in a mesh
      istioctl x internal-debug syncz
    
      # Retrieve sync diff for a single Envoy and Istiod
      istioctl x internal-debug syncz istio-egressgateway-59585c5b9c-ndc59.istio-system
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxystatus/proxystatus.go

    		Short: "Retrieves the synchronization status of each Envoy in the mesh",
    		Long: `
    Retrieves last sent and last acknowledged xDS sync from Istiod to each Envoy in the mesh
    `,
    		Example: `  # Retrieve sync status for all Envoys in a mesh
      istioctl proxy-status
    
      # Retrieve sync status for Envoys in a specific namespace
      istioctl proxy-status --namespace foo
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top