Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,684 for testOrg (0.09 sec)

  1. cmd/os-reliable_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    // Tests - mkdirAll()
    func TestOSMkdirAll(t *testing.T) {
    	// create xlStorage test setup
    	_, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. misc/go_android_exec/exitcode_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !(windows || js || wasip1)
    
    package main
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    package cmd
    
    import (
    	"bytes"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestParseRestoreObjStatus tests parseRestoreObjStatus
    func TestParseRestoreObjStatus(t *testing.T) {
    	testCases := []struct {
    		restoreHdr     string
    		expectedStatus restoreObjStatus
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. internal/crypto/key_test.go

    package crypto
    
    import (
    	"bytes"
    	"crypto/rand"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) }
    
    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("r\u00C9sum\u00C9");
    
        byte[] data = baos.toByteArray();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("r\u00C9sum\u00C9");
    
        byte[] data = baos.toByteArray();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/update-notifier_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/arena/arena_test.go

    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.arenas
    
    package arena_test
    
    import (
    	"arena"
    	"testing"
    )
    
    type T1 struct {
    	n int
    }
    type T2 [1 << 20]byte // 1MiB
    
    func TestSmoke(t *testing.T) {
    	a := arena.NewArena()
    	defer a.Free()
    
    	tt := arena.New[T1](a)
    	tt.n = 1
    
    	ts := arena.MakeSlice[T1](a, 99, 100)
    	if len(ts) != 99 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 742 bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    import com.google.common.collect.testing.google.BiMapInverseTester;
    import com.google.common.collect.testing.google.BiMapTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestStringBiMapGenerator;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.SerializableTester;
    import java.util.AbstractMap;
    import java.util.Collections;
    import java.util.LinkedHashMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. clause/group_by_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestGroupBy(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top