Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 916 for tlen (0.03 seconds)

  1. cmd/bucket-policy-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    	}
    	// Iterating over the cases and deleting the bucket policy and then asserting response.
    	for i, testCase := range testCases {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            buildFile << """
            plugins {
              id 'elasticsearch.internal-yaml-rest-test'
            }
            """
    
            when:
            def result = gradleRunner("yamlRestTest").build()
    
            then:
            result.task(':yamlRestTest').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyRestApiSpecsTask').outcome == TaskOutcome.NO_SOURCE
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            void testConstructorWithAllParameters() {
                // When
                Smb2CloseResponse closeResponse = new Smb2CloseResponse(mockConfig, testFileId, testFileName);
    
                // Then
                assertNotNull(closeResponse);
                assertArrayEquals(testFileId, closeResponse.getFileId());
                assertEquals(testFileName, closeResponse.getFileName());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  4. internal/dsync/lock-args_gen_test.go

    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgLockArgs(b *testing.B) {
    	v := LockArgs{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    	fi
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 15:01:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

            }
    
            when:
            result = gradleRunner(transformTask).build()
    
            then:
            result.task(transformTask).outcome == TaskOutcome.UP_TO_DATE
    
            when:
            buildFile.write(buildFile.text.replace("blah", "baz"))
            result = gradleRunner(transformTask).build()
    
            then:
            result.task(transformTask).outcome == TaskOutcome.SUCCESS
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/MIEName.java

            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
            System.arraycopy(buf, i, bo, 0, len);
            i += len;
            this.oid = ASN1ObjectIdentifier.getInstance(bo);
    
            // NAME_LEN
            if (buf.length < i + NAME_LEN_SIZE) {
                throw new IllegalArgumentException();
            }
            len = 0xff000000 & buf[i++] << 24;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. docs/resiliency/resiliency-tests.sh

    	STATUS=$?
    	if [ $STATUS -eq 0 ]; then
    		DATA_DRIVE=1
    	fi
    
    	if [ $DATA_DRIVE -eq -1 ]; then
    		# Check for existence of file in erasure set 2
    		docker exec resiliency-minio1-1 /bin/sh -c "stat /data5/test-bucket/$DIR/$FILE/xl.meta" >/dev/null 2>&1
    		STATUS=$?
    		if [ $STATUS -eq 0 ]; then
    			DATA_DRIVE=5
    		fi
    	fi
    	echo $DATA_DRIVE
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  9. scripts/doc_parsing_utils.py

        modified_text: list[str] = text.copy()
    
        if len(header_permalinks) != len(original_header_permalinks):
            raise ValueError(
                "Number of headers with permalinks does not match the number in the "
                "original document "
                f"({len(header_permalinks)} vs {len(original_header_permalinks)})"
            )
    
        for header_no in range(len(header_permalinks)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  10. src/bytes/iter.go

    	return func(yield func([]byte) bool) {
    		if len(sep) == 0 {
    			for len(s) > 0 {
    				_, size := utf8.DecodeRune(s)
    				if !yield(s[:size:size]) {
    					return
    				}
    				s = s[size:]
    			}
    			return
    		}
    		for {
    			i := Index(s, sep)
    			if i < 0 {
    				break
    			}
    			frag := s[:i+sepSave]
    			if !yield(frag[:len(frag):len(frag)]) {
    				return
    			}
    			s = s[i+len(sep):]
    		}
    		yield(s[:len(s):len(s)])
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top