Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 477 for got3 (0.02 sec)

  1. internal/grid/debug.go

    func dummyRequestValidate(r *http.Request) error {
    	return nil
    }
    
    func dummyTokenValidate(token string) error {
    	if token == "debug" {
    		return nil
    	}
    	return fmt.Errorf("invalid token. want empty, got %s", token)
    }
    
    func dummyNewToken() string {
    	return "debug"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                        response.adjustOffset(n);
                    }
    
                } while (len > effectiveBlockSize && n == r);
    
                // Optimization: Continue reading if we have small remaining data and got full blocks
                // This reduces round trips for slightly larger reads
                if (len > 0 && len <= (effectiveBlockSize / 4) && n == r) {
                    try {
                        if (th.isSMB2()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. tests/lru_test.go

    	if value, ok := lru.Get("key1"); !ok || value != 2 {
    		t.Errorf("Expected value to be updated to 2, got %v", value)
    	}
    }
    
    func TestLRU_Add_NewKey_AddsEntry(t *testing.T) {
    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    
    	if value, ok := lru.Get("key1"); !ok || value != 1 {
    		t.Errorf("Expected key1 to be added with value 1, got %v", value)
    	}
    }
    
    func TestLRU_Add_ExceedsSize_RemovesOldest(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. docs/features/calls.md

    original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This...
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  remaining -= nRead;
                }
                if (nRead == -1) {
                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

        private final String containingType;
        private final String propertyName;
        private final String methodName;
        private final String methodDescriptor;
    
        /**
         * Was upgradedMethods originally, but got renamed to upgradedAccessors and then to replacedAccessors
         * can be removed once base version will be the one that also uses 'replacedAccessors'.
         */
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 13 19:17:41 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			wantErr := testCase.wantAPICode
    			if gotErr != wantErr {
    				t.Errorf("test %d: want api error %q, got %q", i, wantErr, gotErr)
    			}
    			if testCase.wantHeaders != nil {
    				for k, v := range testCase.wantHeaders {
    					got := rec.Header().Get(k)
    					if got != v {
    						t.Errorf("Want header %s = %s, got %#v", k, v, rec.Header())
    					}
    				}
    			}
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...any) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    // enabled reports whether the input is enabled by an ifdef, or is at the top level.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    			})
    			if err != nil {
    				t.Fatalf("%s : %s", instanceType, err.Error())
    			}
    			if oi.DeleteMarker != object.addDeleteMarker {
    				t.Fatalf("Expected, marker %t : got %t", object.addDeleteMarker, oi.DeleteMarker)
    			}
    		}
    	}
    
    	// Formulating the result data set to be expected from ListObjects call inside the tests,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumMultiset.java

       */
      private void checkIsE(Object element) {
        checkNotNull(element);
        if (!isActuallyE(element)) {
          throw new ClassCastException("Expected an " + type + " but got " + element);
        }
      }
    
      @Override
      int distinctElements() {
        return distinctElements;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top