Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 349 for v1helper (0.21 sec)

  1. cmd/kms-handlers_test.go

    	}
    
    	req, err := newTestSignedRequestV4(method, path, 0, nil, accessKey, secretKey, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return req
    }
    
    // setupKMSUser is a test helper that creates a new user with the provided access key and secret key
    // and applies the given policy to the user.
    func setupKMSUser(t *testing.T, accessKey, secretKey, p string) {
    	ctx := context.Background()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package cmd This file implements helper functions to validate Streaming AWS
    // Signature Version '4' authorization header.
    package cmd
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"hash"
    	"io"
    	"net/http"
    	"strings"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. internal/grid/handlers.go

    }
    
    // NewRemoteErrf creates a new remote error from a format string.
    func NewRemoteErrf(format string, a ...any) *RemoteErr {
    	r := RemoteErr(fmt.Sprintf(format, a...))
    	return &r
    }
    
    // NewNPErr is a helper to no payload and optional remote error.
    // The error type is not preserved.
    func NewNPErr(err error) (NoPayload, *RemoteErr) {
    	if err == nil {
    		return NoPayload{}, nil
    	}
    	r := RemoteErr(err.Error())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

     * 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 org.codelibs.fess.helper;
    
    import java.io.File;
    import java.math.BigDecimal;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.io.FileUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

        status->status = InvalidArgument("Invalid GraphDef");
        return;
      }
      status->status = s->session->Extend(g);
    }
    
    }  // end extern "C"
    
    // Reset helper for converting character arrays to string vectors.
    static void TF_Reset_Helper(const TF_SessionOptions* opt,
                                const char** containers, int ncontainers,
                                TF_Status* status) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/popper.min.js.map

    getScroll(element, 'left');\n  const modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n","/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders -...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

              return multiset1;
            },
            (Multiset<E> multiset) -> copyOfSortedEntries(comparator, multiset.entrySet()));
      }
    
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // helper for toImmutableSortedMultiset
      /*
       * If we make these calls inline inside toImmutableSortedMultiset, we get an Animal Sniffer error,
       * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javac
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    		t.Errorf("Read error: got %T, want testError1", err)
    	}
    }
    
    func TestRingBufferCloseErrorUnblocks(t *testing.T) {
    	const sz = 100
    	rb := New(sz).SetBlocking(true)
    
    	testCancel := func(fn func()) {
    		t.Helper()
    		defer timeout(5 * time.Second)()
    		rb.Reset()
    		done := make(chan struct{})
    		go func() {
    			defer close(done)
    			time.Sleep(10 * time.Millisecond)
    			fn()
    		}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top