Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for clobber (0.36 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                    new ClosingCallable<TestCloseable>() {
                      @Override
                      public TestCloseable call(DeferredCloser closer) throws Exception {
                        closer.eventuallyClose(closeable1, closingExecutor);
                        closer.eventuallyClose(closeable2, closingExecutor);
                        return closeable3;
                      }
                    },
                    executor)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/mips/asm0.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: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        }
    
        /**
         * Assuming that both this [FirScope] and [another] are [FirNestedClassifierScope] or [FirClassUseSiteMemberScope] and both of them
         * are surrounding [from], returns whether this [FirScope] is closer than [another] based on the distance from [from].
         *
         * If one of this [FirScope] and [another] is not [FirNestedClassifierScope] or [FirClassUseSiteMemberScope], it returns false.
         *
         * Example:
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top