Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 2,219 for check (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            } catch (IOException e) {
                throw new IllegalStateException("unable to read the file " + file + " attributes", e);
            }
        }
    
        /**
         * Returns the files this task will check
         */
        @InputFiles
        @SkipWhenEmpty
        public FileCollection getFiles() {
            return getSources().get()
                .stream()
                .map(sourceTree -> sourceTree.matching(filesFilter))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  3. internal/disk/stat_linux_32bit.go

    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/StandardTable.java

                // requireNonNull is safe because of the containsColumn check.
                return requireNonNull(get(entry.getKey())).equals(entry.getValue());
              }
            }
            return false;
          }
    
          @Override
          public boolean remove(@Nullable Object obj) {
            /*
             * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
             * nullness checker.
             */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy

            when:
            def result = gradleRunner("licenseHeaders").buildAndFail()
    
            then:
            result.task(":licenseHeaders").outcome == TaskOutcome.FAILED
            assertOutputContains(result.output, "> Check failed. License header problems were found. Full details: ./build/reports/licenseHeaders/rat.xml")
            assertOutputContains(result.output, "./src/main/java/org/acme/UnknownLicensed.java")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  6. src/archive/tar/common.go

    				format.mustNotBe(FormatPAX)
    			} else {
    				paxHdrs[paxKey] = formatPAXTime(ts)
    			}
    		}
    		if v, ok := h.PAXRecords[paxKey]; ok && v == formatPAXTime(ts) {
    			paxHdrs[paxKey] = v
    		}
    	}
    
    	// Check basic fields.
    	var blk block
    	v7 := blk.toV7()
    	ustar := blk.toUSTAR()
    	gnu := blk.toGNU()
    	verifyString(h.Name, len(v7.name()), "Name", paxPath)
    	verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacUnicodeString.java

        /**
         * Validates the provided string against this structure's metadata.
         * Checks that the string length matches the expected length and that
         * null strings have a zero pointer.
         *
         * @param string the string to validate
         * @return the validated string
         * @throws PACDecodingException if validation fails
         */
        public String check(final String string) throws PACDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

         * version is a release version, a snapshot, or the first alpha version. Subsequent alphas,
         * betas and release candidates need to check the previous prelease tags.
         *
         * @param versionString the version string to check
         * @return whether fetching git tags is required
         */
        @VisibleForTesting
        static boolean needsGitTags(String versionString) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // When
                chunk.encode(buffer, startIndex);
    
                // Then
                // Check bytes before encoded area
                for (int i = 0; i < startIndex; i++) {
                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
    
                // Check bytes after encoded area
                for (int i = startIndex + EXPECTED_SIZE; i < buffer.length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

            this.maxReadWriteSize = RdmaCapabilities.DEFAULT_MAX_READ_WRITE_SIZE;
            this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE;
        }
    
        /**
         * Check if negotiation was successful
         *
         * @return true if successful, false otherwise
         */
        public boolean isSuccess() {
            return status == 0;
        }
    
        /**
         * Get negotiation status
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top