Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 180 for Tres (0.02 seconds)

  1. cmd/batch-handlers.go

    				}
    			}
    			xioutil.SafeClose(walkCh)
    		}()
    
    		prevObj := ""
    
    		skipReplicate := false
    		for res := range slowCh {
    			if res.Err != nil {
    				ri.Failed = true
    				batchLogOnceIf(ctx, res.Err, job.ID+"res.Err")
    				continue
    			}
    			result := res.Item
    			if result.Name != prevObj {
    				prevObj = result.Name
    				skipReplicate = result.DeleteMarker && s3Type
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  2. cmd/benchmark-utils_test.go

    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    	// md5sum of the data to written is required as input for NewMultipartUpload.
    	res, err := obj.NewMultipartUpload(b.Context(), bucket, object, ObjectOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	sha256hex := ""
    
    	var textPartData []byte
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. cmd/sts-handlers.go

    			return
    		}
    	}
    
    	res, err := authn.Authenticate(roleArn, token)
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    	// If authentication failed, return the error message to the user.
    	if res.Failure != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSUpstreamError, errors.New(res.Failure.Reason))
    		return
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            int total = 0;
            for (byte[] a : arrays) {
                total += a.length;
            }
            byte[] res = new byte[total];
            int off = 0;
            for (byte[] a : arrays) {
                System.arraycopy(a, 0, res, off, a.length);
                off += a.length;
            }
            return res;
        }
    
        @Test
        @DisplayName("Read single bytes from stream with message packet")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/archive/tar/strconv_test.go

    		if v.ok && (key != v.wantKey || val != v.wantVal) {
    			t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)",
    				v.in, key, val, v.wantKey, v.wantVal)
    		}
    		if res != v.wantRes {
    			t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q",
    				v.in, res, v.wantRes)
    		}
    	}
    }
    
    func TestFormatPAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  6. tests/query_test.go

    		Nickname string
    		Age      uint
    	}
    	var res result
    	DB.Table("users").Where("name = ?", user.Name).MapColumns(map[string]string{"name": "nickname"}).Scan(&res)
    	if res.Nickname != user.Name {
    		t.Errorf("Expected res.Nickname to be %s, but got %s", user.Name, res.Nickname)
    	}
    	if res.Name != "" {
    		t.Errorf("Expected res.Name to be empty, but got %s", res.Name)
    	}
    	if res.Age != user.Age {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  7. internal/s3select/sql/value.go

    	}
    
    	intV, ok1i := v.ToInt()
    	intA, ok2i := a.ToInt()
    	switch {
    	case ok1i && ok2i:
    		res, err := intArithOp(op, intV, intA)
    		v.setInt(res)
    		return err
    
    	default:
    		// Convert arguments to float
    		flV, _ := v.ToFloat()
    		flA, _ := a.ToFloat()
    		res, err := floatArithOp(op, flV, flA)
    		v.setFloat(res)
    		return err
    	}
    }
    
    func inferTypeForArithOp(a *Value) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                SmbFileInputStream in = new SmbFileInputStream(mockFile, mockTree, mockHandle);
                int res = in.readDirect(new byte[1024], 0, 256);
                assertEquals(-1, res);
            }
    
            @Test
            @DisplayName("LargeReadX splits count across maxCount/openTimeout")
            void largeReadXSetsRequestFields() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. tests/update_test.go

    	} else {
    		CheckUser(t, result, *user)
    	}
    
    	values := map[string]interface{}{"Active": true, "age": 5}
    	if res := DB.Model(user).Updates(values); res.Error != nil {
    		t.Errorf("errors happened when update: %v", res.Error)
    	} else if res.RowsAffected != 1 {
    		t.Errorf("rows affected should be 1, but got : %v", res.RowsAffected)
    	} else if user.Age != 5 {
    		t.Errorf("Age should equals to 5, but got %v", user.Age)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. cmd/erasure-server-pool.go

    		}
    		return a.oi.ModTime.After(b.oi.ModTime)
    	})
    
    	for _, res := range results {
    		err := res.err
    		if err == nil {
    			return res.oi, res.zIdx, nil
    		}
    		if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    			// some errors such as MethodNotAllowed for delete marker
    			// should be returned upwards.
    			return res.oi, res.zIdx, err
    		}
    		// When its a delete marker and versionID is empty
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
Back to Top