Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for drupal (0.2 sec)

  1. internal/lock/lock_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// unlock the file
    	if err = l.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// try lock the unlocked file
    	dupl, err := LockedOpenFile(f.Name(), os.O_WRONLY|os.O_CREATE, 0o600)
    	if err != nil {
    		t.Errorf("err = %v, want %v", err, nil)
    	}
    
    	// blocking on locked file
    	locked := make(chan struct{}, 1)
    	go func() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. CREDITS

    The Eclipse Public License is available at
      https://www.eclipse.org/legal/epl-2.0/
    and the Eclipse Distribution License is available at
      http://www.eclipse.org/org/documents/edl-v10.php.
    
    For an explanation of what dual-licensing means to you, see:
    https://www.eclipse.org/legal/eplfaq.php#DUALLIC
    
    ****
    The epl-2.0 is copied below in order to pass the pkg.go.dev license check (https://pkg.go.dev/license-policy).
    ****
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top