Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for shilling (0.25 sec)

  1. cmd/erasure-sets_test.go

    func TestSipHashMod(t *testing.T) {
    	testCases := []struct {
    		objectName string
    		sipHash    int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", 37},
    		{"The Shining Script <v1>.pdf", 38},
    		{"Cost Benefit Analysis (2009-2010).pptx", 59},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/object-api-deleteobject_test.go

    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    		// Test 3: remove an object inside a directory and checks if it is deleted
    		// but other sibling object in the same directory still exists
    		{
    			"bucket3",
    			[]objectUpload{{"dir/object1", "content"}, {"dir/object2", "content"}},
    			"dir/object1",
    			[]string{"dir/object2"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			if c.baseBadPointerTypedef(dt) {
    				break
    			}
    
    			t = c.Type(ptr, pos)
    			if t == nil {
    				return nil
    			}
    
    			// For a struct/union/class, remember the C spelling,
    			// in case it has __attribute__((unavailable)).
    			// See issue 2888.
    			if isStructUnionClass(t.Go) {
    				t.Typedef = dt.Name
    			}
    		}
    	}
    	return t
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. internal/grid/connection_test.go

    		}
    		gotResp <- struct{}{}
    	}()
    
    	<-gotCall
    	remote.debugMsg(debugKillOutbound)
    	local.debugMsg(debugKillOutbound)
    	errFatal(remoteConn.WaitForConnect(context.Background()))
    
    	<-gotResp
    	// Killing should cancel the context on the request.
    	<-gotCall
    }
    
    func dummyRequestValidate(r *http.Request) error {
    	return nil
    }
    
    func TestShouldConnect(t *testing.T) {
    	var c Connection
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    		objectName  string
    		hashedOrder []int
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", []int{14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}},
    		{"The Shining Script <v1>.pdf", []int{16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}},
    		{"Cost Benefit Analysis (2009-2010).pptx", []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    	testCases := []struct {
    		objectName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid object name.
    		{"object", true},
    		{"The Shining Script <v1>.pdf", true},
    		{"Cost Benefit Analysis (2009-2010).pptx", true},
    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", true},
    		{"SHØRT", true},
    		{"f*le", true},
    		{"contains-^-caret", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("1234")
    		tw.check(t, "", "")
    		b.WriteString("56789012")   // longer than BufSize
    		tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer)
    		b.Flush()
    		tw.check(t, "123456789012", "")
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("123456789")   // long string, empty buffer:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top