Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 1,086 for add (0.12 seconds)

  1. cmd/storage-rest-client.go

    }
    
    // DeleteFile - deletes a file.
    func (client *storageRESTClient) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) error {
    	if !deleteOpts.Immediate {
    		// add deadlines for all non-immediate purges
    		var cancel context.CancelFunc
    		ctx, cancel = context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    		defer cancel()
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. tensorflow/BUILD

    )
    
    selects.config_setting_group(
        name = "api_indexable",
        match_any = [":api_indexable_flag"] + ADDITIONAL_API_INDEXABLE_SETTINGS,
        visibility = ["//visibility:public"],
    )
    
    # DO NOT ADD ANY NEW EXCEPTIONS TO THIS LIST!
    # Instead, please use public APIs or public build rules TF provides.
    # If you need functionality that is not exposed, we will work with you to expand our public APIs.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 12 19:21:56 GMT 2025
    - 53.1K bytes
    - Click Count (0)
  3. cmd/erasure-object_test.go

    				ObjectName: objInfo.Name,
    				VersionID:  objInfo.VersionID,
    			},
    		}
    	}
    	names = append(names, ObjectToDelete{
    		ObjectV: ObjectV{
    			ObjectName: "dir/obj1",
    			VersionID:  mustGetUUID(), // add a non-existent UUID.
    		},
    	})
    
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, names, ObjectOptions{
    		Versioned: true,
    	})
    	for i := range delErrs {
    		if delErrs[i] != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  4. cmd/object-api-utils.go

    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    			// .. element: remove to last / - assume it has to be cleaned.
    			return true
    		default:
    			// real path element.
    			// add slash if needed
    			if rooted && w != 1 || !rooted && w != 0 {
    				w++
    			}
    			// copy element
    			for ; r < n && path[r] != '/'; r++ {
    				w++
    			}
    			// allow one slash, not at end
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  5. src/archive/tar/writer_test.go

    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err != nil {
    		t.Fatal(err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    	fsys["subfolder"] = &fstest.MapFile{Mode: 0o555 | os.ModeDir}
    
    	// Test that we can get the files back from the archive
    	tr := NewReader(&buf)
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. tests/generics_test.go

    	if err != nil {
    		t.Errorf("failed to create users")
    	}
    
    	reusedb := gorm.G[User](DB).Where("name like ?", "TestGenericsReuse%")
    
    	sg := sync.WaitGroup{}
    	for i := 0; i < 5; i++ {
    		sg.Add(1)
    
    		go func() {
    			if u1, err := reusedb.Where("id = ?", users[0].ID).First(ctx); err != nil {
    				t.Errorf("failed to find user, got error: %v", err)
    			} else if u1.Name != users[0].Name || u1.ID != users[0].ID {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  7. src/archive/tar/reader_test.go

    			}
    			return spd
    		}(),
    	}}
    
    	for i, v := range vectors {
    		var hdr Header
    		hdr.PAXRecords = v.inputHdrs
    		r := strings.NewReader(v.inputData + "#") // Add canary byte
    		tr := Reader{curr: &regFileReader{r, int64(r.Len())}}
    		got, err := tr.readGNUSparsePAXHeaders(&hdr)
    		if !slices.Equal(got, v.wantMap) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  8. cmd/erasure-healing_test.go

    				3: {checkPartSuccess, checkPartSuccess, checkPartSuccess, checkPartFileNotFound},
    			},
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    
    		// Add new cases as seen
    	}
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  9. internal/config/notify/parse.go

    		targets, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    		if err != nil {
    			return nil, err
    		}
    		for _, t := range targets {
    			if err = targetList.Add(t); err != nil {
    				return nil, err
    			}
    		}
    	}
    	return targetList, nil
    }
    
    // DefaultNotificationKVS - default notification list of kvs.
    var (
    	DefaultNotificationKVS = map[string]config.KVS{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/parse.go

    	isJump        bool             // Instruction being assembled is a jump.
    	allowABI      bool             // Whether ABI selectors are allowed.
    	pkgPrefix     string           // Prefix to add to local symbols.
    	errorWriter   io.Writer
    }
    
    type Patch struct {
    	addr  *obj.Addr
    	label string
    }
    
    func NewParser(ctxt *obj.Link, ar *arch.Arch, lexer lex.TokenReader) *Parser {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
Back to Top