Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 257 for getZip (0.12 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy

        reason = "always runs in parallel, our mac currently lacks proper toolchain installations")
    abstract class AbstractNativeSoftwareModelParallelIntegrationTest extends AbstractNativeParallelIntegrationTest {
        abstract HelloWorldApp getApp()
    
        @ToBeFixedForConfigurationCache
        def "can execute link executable tasks in parallel"() {
            given:
            withComponentForApp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/util/workloadinstances/util.go

    // corresponds to a given proxy, if any.
    func GetInstanceForProxy(index Index, proxy *model.Proxy, proxyIP string) *model.WorkloadInstance {
    	if !slices.Contains(proxy.IPAddresses, proxyIP) {
    		return nil
    	}
    	instances := index.GetByIP(proxyIP) // list is ordered by namespace/name
    	if len(instances) == 0 {
    		return nil
    	}
    	if len(instances) == 1 { // dominant use case
    		// NOTE: for the sake of backwards compatibility, we don't enforce
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultBuildLogicBuildQueue.java

            } finally {
                lock.unlock();
            }
        }
    
        private FileLock lockBuildLogicQueueFile() {
            return fileLockManager.lock(
                new File(projectCacheDir.getDir(), "noVersion/buildLogic"),
                mode(FileLockManager.LockMode.Exclusive),
                "build logic queue"
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 16 23:00:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    }
    
                    /*
                     * NtTrans Notify Change Request / Response
                     */
                    req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive);
                    resp = new NtTransNotifyChangeResponse(th.getConfig());
                }
    
                if ( log.isTraceEnabled() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  5. src/syscall/creds_test.go

    			}
    			switch err {
    			case syscall.EPERM, syscall.EINVAL:
    			default:
    				t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err)
    			}
    		}
    
    		ucred.Pid = int32(os.Getpid())
    		ucred.Uid = uint32(os.Getuid())
    		ucred.Gid = uint32(os.Getgid())
    		oob := syscall.UnixCredentials(&ucred)
    
    		// On SOCK_STREAM, this is internally going to send a dummy byte
    		n, oobn, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        public SmbComOpenAndXResponse ( Configuration config, SmbComSeekResponse andxResp ) {
            super(config, andxResp);
        }
    
    
        /**
         * @return the fid
         */
        public final int getFid () {
            return this.fid;
        }
    
    
        /**
         * @return the dataSize
         */
        public final int getDataSize () {
            return this.fileDataSize;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorParallelTest.groovy

            _ * classpathTransformer.transform(_, _) >> { args -> args[0] }
            _ * projectCacheDir.getDir() >> temporaryFolder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:22:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tests/main.py

        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    @app.get("/path/str/{item_id}")
    def get_str_id(item_id: str):
        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. security/pkg/util/jwtutil_test.go

    			expectedExp: time.Time{},
    			expectedErr: fmt.Errorf("failed to decode the JWT claims"),
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			exp, err := GetExp(tc.jwt)
    			if err != nil && tc.expectedErr == nil || err == nil && tc.expectedErr != nil {
    				t.Errorf("%s: Got error \"%v\", expected error \"%v\"", id, err, tc.expectedErr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. security/pkg/credentialfetcher/plugin/gce.go

    		}
    	}
    }
    
    func (p *GCEPlugin) shouldRotate(now time.Time) bool {
    	p.tokenMutex.RLock()
    	defer p.tokenMutex.RUnlock()
    
    	if p.tokenCache == "" {
    		return true
    	}
    	exp, err := util.GetExp(p.tokenCache)
    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top