Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for clobber (0.13 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    	f.PodNominator = n
    }
    
    // Close closes each plugin, when they implement io.Closer interface.
    func (f *frameworkImpl) Close() error {
    	var errs []error
    	for name, plugin := range f.pluginsMap {
    		if closer, ok := plugin.(io.Closer); ok {
    			err := closer.Close()
    			if err != nil {
    				errs = append(errs, fmt.Errorf("%s failed to close: %w", name, err))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_asm_s390x.s

    	CALL p256MulInternal<>(SB)
    	VLR  T0, U1L
    	VLR  T1, U1H
    
    	// SUB(H<H-T)            // H  = H-U1
    	p256SubInternal(HH,HL,HH,HL,T1,T0)
    
    	// if H == 0 or H^P == 0 then ret=1 else ret=0
    	// clobbers T1H and T1L
    	MOVD   $0, ISZERO
    	MOVD   $1, TRUE
    	VZERO  ZER
    	VO     HL, HH, T1H
    	VCEQGS ZER, T1H, T1H
    	MOVDEQ TRUE, ISZERO
    	VX     HL, PL, T1L
    	VX     HH, PH, T1H
    	VO     T1L, T1H, T1H
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    		// Remainder after the loop
    		rem := v.AuxInt % bytesPerLoop
    
    		dstReg := v.Args[0].Reg()
    		srcReg := v.Args[1].Reg()
    
    		// The set of registers used here, must match the clobbered reg list
    		// in PPC64Ops.go.
    		offset := int64(0)
    
    		// top of the loop
    		var top *obj.Prog
    		// Only generate looping code when loop counter is > 1 for >= 64 bytes
    		if ctr > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    			file.Close()
    			return nil, err
    		}
    	}
    
    	return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
    }
    
    // closeWrapper converts a function to an io.Closer
    type closeWrapper func() error
    
    // Close calls the wrapped function.
    func (c closeWrapper) Close() error {
    	return c()
    }
    
    // CreateFile - creates the file.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

     * that it can be marshalled and unmarshalled without being tainted by runtime requirements.
     * </p>
     * <p>
     * With changes during 3.2.2 release MavenProject is closer to being immutable after construction with the removal of
     * all components from this class, and the upfront construction taken care of entirely by the {@link ProjectBuilder}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  6. src/crypto/tls/conn.go

    	for {
    		x = c.activeCall.Load()
    		if x&1 != 0 {
    			return net.ErrClosed
    		}
    		if c.activeCall.CompareAndSwap(x, x|1) {
    			break
    		}
    	}
    	if x != 0 {
    		// io.Writer and io.Closer should not be used concurrently.
    		// If Close is called while a Write is currently in-flight,
    		// interpret that as a sign that this Close is really just
    		// being used to break the Write and/or clean up resources and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. src/net/http/request.go

    	return NewRequestWithContext(context.Background(), method, url, body)
    }
    
    // NewRequestWithContext returns a new [Request] given a method, URL, and
    // optional body.
    //
    // If the provided body is also an [io.Closer], the returned
    // [Request.Body] is set to body and will be closed (possibly
    // asynchronously) by the Client methods Do, Post, and PostForm,
    // and [Transport.RoundTrip].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    }
    
    // isUnsafePoint returns whether p is an unsafe point.
    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    	return p.From.Reg == REGTMP || p.To.Reg == REGTMP || p.Reg == REGTMP
    }
    
    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    		if err == nil {
    			continue
    		}
    		if err == io.EOF {
    			break
    		}
    		t.Fatal(err)
    	}
    	w.(io.Closer).Close()
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, nil, shardSize); err != nil {
    		t.Fatal(err)
    	}
    
    	// 4) Streaming bitrot check on corrupted file
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    				}
    			}
    		}()
    	}
    	// In case of all workers exit, notify distributor.
    	go func() {
    		defer utilruntime.HandleCrash(func(panicReason interface{}) {
    			errs <- fmt.Errorf("DeleteCollection workers closer panicked: %v", panicReason)
    		})
    		wg.Wait()
    		close(workersExited)
    	}()
    
    	hasLimit := listOptions.Limit > 0
    	if listOptions.Limit == 0 {
    		listOptions.Limit = deleteCollectionPageSize
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
Back to top