Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 928 for lock1 (0.05 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ConcurrentBuildsIncrementalBuildIntegrationTest.groovy

        outputFile = file('src.a.txt')
    }
    task block1 {
        dependsOn a
        doLast {
            ${server.callFromBuild("block1")}
        }
    }
    task block2 {
        dependsOn a
        doLast {
            ${server.callFromBuild("block2")}
        }
    }
    """
            TestFile inputFile = file('src.txt')
            inputFile.text = 'content'
    
            def block1 = server.expectAndBlock("block1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 12 09:35:17 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy

            given:
            // Run two builds where one build applies one transform and the other build the second
            buildFile << """
    task block1 {
        doLast {
            ${server.callFromBuild("block1")}
        }
    }
    block1.mustRunAfter redThings
    blueThings.mustRunAfter block1
    
    task block2 {
        doLast {
            ${server.callFromBuild("block2")}
        }
    }
    block2.mustRunAfter blueThings
    
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. cmd/lock-rest-server-common.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    var (
    	errLockConflict       = errors.New("lock conflict")
    	errLockNotInitialized = errors.New("lock not initialized")
    	errLockNotFound       = errors.New("lock not found")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 973 bytes
    - Viewed (0)
  4. .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)
  5. 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)
  6. cmd/lock-rest-server-common_test.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 23 17:26:21 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java

         * then run the action and reacquire any locks.
         * If the current thread is not allowed to make changes to the project locks (via {@link #whileDisallowingProjectLockChanges(Factory)},
         * then it is safe to run the action without releasing the project locks. The worker lease is, however, released prior to running the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	)
    	from, stale, err = p.TransformFromStorage(ctx, out, dataCtx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !stale || !bytes.Equal([]byte("firstvalue"), from) {
    		t.Fatalf("unexpected data: %t %q", stale, from)
    	}
    }
    
    func TestCBCKeyRotation(t *testing.T) {
    	testErr := fmt.Errorf("test error")
    	block1, err := aes.NewCipher([]byte("abcdefghijklmnop"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    		case <-ctx.Done():
    			return false
    		default:
    			// Try to acquire the lock.
    			if locked = lock(ctx, dm.clnt, &locks, id, source, isReadLock, tolerance, quorum, dm.Names...); locked {
    				dm.m.Lock()
    
    				// If success, copy array to object
    				if isReadLock {
    					copy(dm.readLocks, locks)
    				} else {
    					copy(dm.writeLocks, locks)
    				}
    
    				dm.m.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. internal/dsync/lock-args.go

    // LockArgs is minimal required values for any dsync compatible lock operation.
    type LockArgs struct {
    	// Unique ID of lock/unlock request.
    	UID string
    
    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 04:34:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top