Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for Append (0.29 sec)

  1. cmd/sts-handlers_test.go

    	for _, entity := range policyQueryRes.PolicyMappings {
    		m := gotContent.ldapUserPolicyMappings
    		for _, user := range entity.Users {
    			m[user] = append(m[user], entity.Policy)
    		}
    		m = gotContent.ldapGroupPolicyMappings
    		for _, group := range entity.Groups {
    			m[group] = append(m[group], entity.Policy)
    		}
    	}
    
    	{
    		// We don't compare the values of the canned policies because server is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    		{"foo", object, uploadID, BucketNotFound{}},
    		{bucket, object, "foo-foo", InvalidUploadID{}},
    		{bucket, object, uploadID, nil},
    	}
    
    	if runtime.GOOS != globalWindowsOSName {
    		abortTestCases = append(abortTestCases, struct {
    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    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)
  3. src/bytes/bytes_test.go

    				b.Fatal("bad equal")
    			}
    		}
    		buf1[n-1] = '\x00'
    		buf2[n-1] = '\x00'
    	}
    }
    
    func BenchmarkEqualBothUnaligned(b *testing.B) {
    	sizes := []int{64, 4 << 10}
    	if !isRaceBuilder {
    		sizes = append(sizes, []int{4 << 20, 64 << 20}...)
    	}
    	maxSize := 2 * (sizes[len(sizes)-1] + 8)
    	if len(bmbuf) < maxSize {
    		bmbuf = make([]byte, maxSize)
    	}
    
    	for _, n := range sizes {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		if err != nil {
    			return err
    		}
    		if pInfo.Size != objInfo.Size {
    			return fmt.Errorf("Part size mismatch: got %d, want %d", pInfo.Size, objInfo.Size)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    	_, err = api.CompleteMultipartUpload(ctx, tgtBucket, tgtObject, res.UploadID, uploadedParts, opts)
    	return err
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

                     /*append_hash=*/false);
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
      ASSERT_EQ(string("long_func_name"), fdef.signature().name());
    }
    
    TEST_F(CApiFunctionTest, AppendHash) {
      DefineFunction("func_name_base", &func_, "Return something",
                     /*append_hash=*/true);
      tensorflow::FunctionDef fdef;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  6. cmd/xl-storage.go

    	for _, entry := range entries {
    		if !HasSuffix(entry, SlashSeparator) || !isValidVolname(pathutil.Clean(entry)) {
    			// Skip if entry is neither a directory not a valid volume name.
    			continue
    		}
    		volsInfo = append(volsInfo, VolInfo{
    			Name: pathutil.Clean(entry),
    		})
    	}
    	return volsInfo, nil
    }
    
    // StatVol - get volume info.
    func (s *xlStorage) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    //            name (OpDef.name) regexp [A-Z][A-Za-z0-9_.\\-/]*.
    //            If `append_hash_to_fn_name` is false, `fn_name` must be distinct
    //            from other function and operation names (at least those
    //            registered in graphs where this function will be used).
    //  append_hash_to_fn_name - Must be 0 or 1. If set to 1, the actual name
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. cmd/erasure-object.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/mimedb"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // list all errors which can be ignored in object operations.
    var objectOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk, errDiskOngoingReq)
    
    // Object Operations
    
    func countOnlineDisks(onlineDisks []StorageAPI) (online int) {
    	for _, onlineDisk := range onlineDisks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. src/archive/zip/reader_test.go

    				if err != nil {
    					if !test.wantErr {
    						t.Errorf("%s: %v", path, err)
    					}
    					sawErr = true
    					return nil
    				}
    				files = append(files, path)
    				return nil
    			})
    			if err != nil {
    				t.Errorf("fs.WalkDir error: %v", err)
    			}
    			if test.wantErr && !sawErr {
    				t.Error("succeeded but want error")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        private static String createPath(List<String> elements) {
            StringBuilder buffer = new StringBuilder(256);
            for (String s : elements) {
                buffer.append(s).append(File.separator);
            }
            return buffer.toString().substring(0, buffer.toString().length() - 1);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top