Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 418 for clobber (0.14 sec)

  1. cmd/metacache-stream.go

    				continue
    			}
    		}
    	}()
    
    	return objs, nil
    }
    
    // Close and release resources.
    func (w *metacacheWriter) Close() error {
    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    // Reset and start writing to new writer.
    // Close must have been called before this.
    func (w *metacacheWriter) Reset(out io.Writer) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/net/listen_test.go

    			}
    			if err := checkMulticastListener(cs[0], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if cs[1], err = ListenMulticastUDP(tt.net, ifi, tt.gaddr); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if err := checkMulticastListener(cs[1], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			closer(cs)
    		}
    	}
    }
    
    var ipv6MulticastListenerTests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  3. internal/lock/lock.go

    	return r.refs == 0
    }
    
    // IncLockRef - is used by called to indicate lock refs.
    func (r *RLockedFile) IncLockRef() {
    	r.mutex.Lock()
    	r.refs++
    	r.mutex.Unlock()
    }
    
    // Close - this closer implements a special closer
    // closes the underlying fd only when the refs
    // reach zero.
    func (r *RLockedFile) Close() (err error) {
    	r.mutex.Lock()
    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. src/debug/plan9obj/file.go

    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    	ff.closer = f
    	return ff, nil
    }
    
    // Close closes the [File].
    // If the [File] was created using [NewFile] directly instead of [Open],
    // Close has no effect.
    func (f *File) Close() error {
    	var err error
    	if f.closer != nil {
    		err = f.closer.Close()
    		f.closer = nil
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. pkg/test/framework/scope.go

    )
    
    // scope hold resources in a particular scope.
    type scope struct {
    	// friendly name for the scope for debugging purposes.
    	id string
    
    	parent *scope
    
    	resources []resource.Resource
    
    	closers []io.Closer
    
    	children []*scope
    
    	closeChan chan struct{}
    
    	topLevel bool
    
    	skipDump bool
    
    	// Mutex to lock changes to resources, children, and closers that can be done concurrently
    	mu sync.Mutex
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 21:55:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

    /**
     *
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultGraphConflictResolutionPolicy implements GraphConflictResolutionPolicy {
        /**
         * artifact, closer to the entry point, is selected
         */
        @Configuration(name = "closer-first", value = "true")
        private boolean closerFirst = true;
    
        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. test/fixedbugs/issue10320.go

    // license that can be found in the LICENSE file.
    
    // Issue 10320: 7g failed to compile a program because it attempted
    // to use ZR as register. Other programs compiled but failed to
    // execute correctly because they clobbered the g register.
    
    package main
    
    func main() {
    	var x00, x01, x02, x03, x04, x05, x06, x07, x08, x09 int
    	var x10, x11, x12, x13, x14, x15, x16, x17, x18, x19 int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 889 bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        }
    
        protected static File getFileForClasspathResource(String resource)
                throws FileNotFoundException, URISyntaxException {
            ClassLoader cloader = Thread.currentThread().getContextClassLoader();
    
            URL resourceUrl = cloader.getResource(resource);
    
            if (resourceUrl == null) {
                throw new FileNotFoundException("Unable to find: " + resource);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_loong64.S

    	fst.d	$f27, $r3, 112
    	fst.d	$f28, $r3, 120
    	fst.d	$f29, $r3, 128
    	fst.d	$f30, $r3, 136
    	fst.d	$f31, $r3, 144
    
    	move	$r18, $r4 // save R4
    	move	$r19, $r6
    	jirl	$r1, $r5, 0	// call setg_gcc (clobbers R4)
    	jirl	$r1, $r18, 0	// call fn
    
    	ld.d	$r23, $r3, 8
    	ld.d	$r24, $r3, 16
    	ld.d	$r25, $r3, 24
    	ld.d	$r26, $r3, 32
    	ld.d	$r27, $r3, 40
    	ld.d	$r28, $r3, 48
    	ld.d	$r29, $r3, 56
    	ld.d	$r30, $r3, 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 05 18:57:04 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/runtime/sys_windows_386.s

    	// Set up tls.
    	LEAL	m_tls(CX), DI
    	MOVL	CX, g_m(DX)
    	MOVL	DX, g(DI)
    	MOVL	DI, 4(SP)
    	CALL	runtime·setldt(SB) // clobbers CX and DX
    
    	// Someday the convention will be D is always cleared.
    	CLD
    
    	CALL	runtime·stackcheck(SB)	// clobbers AX,CX
    	CALL	runtime·mstart(SB)
    
    	RET
    
    // uint32 tstart_stdcall(M *newm);
    TEXT runtime·tstart_stdcall(SB),NOSPLIT,$0
    	MOVL	newm+0(FP), BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top