Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 452 for resps (0.06 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

            ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized ( resp ) {
                if ( resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0 ) {
                    resp.setAsyncHandled(true);
                    boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      }
    
      @Benchmark
      int collections(int reps) {
        int dummy = 0;
        // Yes, this could be done more elegantly
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            Collections.sort(copy);
            dummy += copy.get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
      byte adler32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          Adler32 checksum = new Adler32();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 13 16:19:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      }
    
      @Benchmark
      public long timeComplete_Normal(int reps) throws Exception {
        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.set(i);
        }
        for (int i = 0; i < reps; i++) {
          r += list.get(i).get();
        }
        return r;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jul 16 17:22:27 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      int hashString_4(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3);
        }
        return dummy;
      }
    
      @Benchmark
      int hashString_5(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Objects.hashCode(S0, S1, S2, S3, S4);
        }
        return dummy;
      }
    
      @Benchmark
      int hashMixed_5(int reps) {
        int dummy = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. pilot/pkg/xds/deltaadstest.go

    	select {
    	case <-time.After(a.timeout):
    		a.t.Fatalf("did not get response in time")
    	case resp := <-a.responses:
    		if resp == nil {
    			a.t.Fatalf("expected response")
    		}
    		if resp != nil && (len(resp.RemovedResources) > 0 || len(resp.Resources) > 0) {
    			a.t.Fatalf("expected empty response. received %v", resp)
    		}
    		return resp
    	case err := <-a.error:
    		a.t.Fatalf("got error: %v", err)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/lock-rest-server.go

    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker.go

    }
    
    func (checker GenericHttpResponseChecker) Check(resp *http.Response) error {
    	if resp.StatusCode < http.StatusOK || resp.StatusCode > http.StatusPartialContent {
    		defer resp.Body.Close()
    		bodyBytes, err := ioutil.ReadAll(io.LimitReader(resp.Body, maxReadLength))
    		if err != nil {
    			return errors.NewInternalError(err)
    		}
    		bodyText := string(bodyBytes)
    
    		switch {
    		case resp.StatusCode == http.StatusInternalServerError:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 03 06:33:43 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      @Benchmark
      int branchFreeLtIntInlined(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
          int x = xInts[j];
          int y = yInts[j];
          int z = constant[j];
          tmp += z + ((x - y) >>> (Integer.SIZE - 1));
        }
        return tmp;
      }
    
      @Benchmark
      int branchFreeLtInt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & SAMPLE_MASK;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  10. pkg/registry/authentication/tokenreview/storage.go

    	if resp != nil && resp.User != nil {
    		tokenReview.Status.User = authentication.UserInfo{
    			Username: resp.User.GetName(),
    			UID:      resp.User.GetUID(),
    			Groups:   resp.User.GetGroups(),
    			Extra:    map[string]authentication.ExtraValue{},
    		}
    		for k, v := range resp.User.GetExtra() {
    			tokenReview.Status.User.Extra[k] = authentication.ExtraValue(v)
    		}
    		tokenReview.Status.Audiences = resp.Audiences
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top