Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 815 for fslock (0.15 sec)

  1. src/cmd/compile/internal/ssa/block.go

    // for the new value. The index must refer to a valid control value.
    func (b *Block) ReplaceControl(i int, v *Value) {
    	b.Controls[i].Uses--
    	b.Controls[i] = v
    	v.Uses++
    }
    
    // CopyControls replaces the controls for this block with those from the
    // provided block. The provided block is not modified.
    func (b *Block) CopyControls(from *Block) {
    	if b == from {
    		return
    	}
    	b.ResetControls()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/syscall/syscall_unix_test.go

    		}
    	} else {
    		// child
    		got := flock
    		// make sure the child lock is conflicting with the parent lock
    		got.Start--
    		got.Len++
    		if err := syscall.FcntlFlock(3, syscall.F_GETLK, &got); err != nil {
    			t.Fatalf("FcntlFlock(F_GETLK) failed: %v", err)
    		}
    		flock.Pid = int32(syscall.Getppid())
    		// Linux kernel always set Whence to 0
    		flock.Whence = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  3. .github/workflows/slack-notifier.yml

    permissions: {}
    
    jobs:
      send-slack-notification:
        if: ${{ github.event.label.name == 'in:ide' || github.event.label.name == 'in:eclipse-plugin' || github.event.label.name == 'in:idea-plugin' || github.event.label.name == 'in:tooling-api' }}
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about issues with specific labels
            id: slack
            uses: slackapi/slack-github-action@v1.23.0
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. samples/bookinfo/src/details/Gemfile.lock

    Brian Sonnenberg <******@****.***> 1716576125 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 24 18:42:05 UTC 2024
    - 171 bytes
    - Viewed (0)
  5. test/fixedbugs/bug273.go

    }
    
    func badcap1() {
    	g1 = make([]block, 10, five)
    }
    
    func bigcap() {
    	g1 = make([]block, 10, big)
    }
    
    type cblock [1<<16 - 1]byte
    
    var g4 chan cblock
    
    func badchancap() {
    	g4 = make(chan cblock, minus1)
    }
    
    func bigchancap() {
    	g4 = make(chan cblock, big)
    }
    
    func overflowchan() {
    	const ptrSize = unsafe.Sizeof(uintptr(0))
    	g4 = make(chan cblock, 1<<(30*(ptrSize/4)))
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 14:06:28 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

        }
    
        def "notifies listener when lock is released"() {
            def listener = Mock(Action)
            coordinationService.addLockReleaseListener(listener)
    
            def lock = resourceLock("lock1", true, true)
    
            when:
            coordinationService.withStateLock { state ->
                assert lock.isLockedByCurrentThread()
                lock.unlock()
                return FINISHED
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. .github/workflows/lock.yml

    name: 'Lock Threads'
    
    on:
      schedule:
        - cron: '0 0 * * *'
      workflow_dispatch:
    
    permissions:
      issues: write
    
    concurrency:
      group: lock
    
    jobs:
      action:
        runs-on: ubuntu-latest
        steps:
          - uses: dessant/lock-threads@v3
            with:
              github-token: ${{ github.token }}
              issue-inactive-days: '365'
              exclude-any-issue-labels: 'do-not-close'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 30 03:27:43 UTC 2022
    - 447 bytes
    - Viewed (0)
  8. kotlin-js-store/yarn.lock

    Yuri Schimke <******@****.***> 1690028931 +0100
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  9. pkg/util/flock/flock_unix.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flock
    
    import "golang.org/x/sys/unix"
    
    // Acquire acquires a lock on a file for the duration of the process. This method
    // is reentrant.
    func Acquire(path string) error {
    	fd, err := unix.Open(path, unix.O_CREAT|unix.O_RDWR|unix.O_CLOEXEC, 0600)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    	var fakeFd uint32 = 42
    
    	bus := DBusCon{
    		SystemBus: &fakeSystemDBus{
    			fakeDBusObject: &fakeDBusObject{
    				bodyValue: fakeFd,
    			},
    		},
    	}
    
    	fdLock, err := bus.InhibitShutdown()
    	assert.Equal(t, InhibitLock(fakeFd), fdLock)
    	assert.NoError(t, err)
    }
    
    func TestReloadLogindConf(t *testing.T) {
    	bus := DBusCon{
    		SystemBus: &fakeSystemDBus{
    			fakeDBusObject: &fakeDBusObject{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top