Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3621 - 3630 of 4,820 for If (0.02 sec)

  1. cmd/os-dirent_namelen_bsd.go

    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // 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
    
    import "syscall"
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	return uint64(dirent.Namlen), nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 982 bytes
    - Viewed (0)
  2. ci/official/containers/ml_build/builder.devtoolset/rpm-patch.sh

    SPEC="$1"
    grep '%patch' "${SPEC}" |while read cmd ; do
      N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,')
      file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,')
      parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,')
      if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then
        echo "patch ${parg} -s < ${file}"
        patch ${parg} -s < "${file}"
      fi
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Try to skip more than available
            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
                // This is also acceptable behavior - skip may fail when it runs out of data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    // It then attempts to guess the specific format based on magic values.
    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    	chksum1, chksum2 := b.computeChecksum()
    	if p.err != nil || (value != chksum1 && value != chksum2) {
    		return FormatUnknown
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.7.md

    	    * cloudprovider_gce_api_request_errors{request, region, zone}
    
    	    * request is the specific function that is used.
    
    	    * region is the target region (Will be "<n/a>" if not applicable)
    
    	    * zone is the target zone (Will be "<n/a>" if not applicable)
    
    	    * Note: this fixes some issues with the previous implementation of metrics for disks:
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  6. src/all.bash

    #!/usr/bin/env bash
    # Copyright 2009 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    if [ ! -f make.bash ]; then
    	echo 'all.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    . ./make.bash "$@" --no-banner
    bash run.bash --no-rebuild
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 10 13:00:41 UTC 2025
    - 378 bytes
    - Viewed (0)
  7. src/all.bat

    L1::: Copyright 2012 The Go Authors. All rights reserved.
    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if not exist make.bat (
    L10:    echo all.bat must be run from go\src
    L11:    exit /b 1
    L12:)
    L13:
    L14:call .\make.bat --no-banner || exit /b 1
    L15:call .\run.bat --no-rebuild || exit /b 1
    L16:..\bin\go tool dist banner
    ...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 11 17:45:10 UTC 2025
    - 388 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

            assertNotSame(thrower1, thrower2);
        }
    
        // Helper method to check if array contains a value
        private boolean containsValue(String[] array, String value) {
            for (String element : array) {
                if (element.equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

      }
    
      @Test
      public void edgesConnecting_oneEdge() {
        network.addEdge(N1, N2, E12);
        assertThat(networkForTest.edgesConnecting(N1, N2)).containsExactly(E12);
        if (edgeType == EdgeType.DIRECTED) {
          assertThat(networkForTest.edgesConnecting(N2, N1)).isEmpty();
        } else {
          assertThat(networkForTest.edgesConnecting(N2, N1)).containsExactly(E12);
        }
      }
    
      @Test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        int size = getNumElements();
    
        assertThrows(
            NullPointerException.class, () -> multimap().putAll(k3(), newArrayList(v3(), null)));
    
        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top